[SERVER-72888] Add .clangd file to workspace for better integration with clangd Created: 17/Jan/23  Updated: 05/Feb/24

Status: Needs Verification
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Assigned Teams:
Build
Participants:

 Description   

Slack Thread

  • mathias@mongodb.com: On a related note, it may be worth dropping a `.clangd` file in either the root of the repo or src. That would let us do things like removing `-Werror` from the compile flags, and turning on some clang-tidy and unused include warnings.


 Comments   
Comment by Internal Directory User [ 17/Jan/23 ]

Slack Thread

  • mathias@mongodb.com: The nice thing with doing it via .clangd even if you can do it via .vscode is that it works for all editors that use clangd (which is basically all of them worth using at this point)
Generated at Thu Feb 08 06:23:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.