Skip to content

Commit fdab905

Browse files
committed
Update .clangd
1 parent 530f71f commit fdab905

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.clangd

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ CompileFlags:
44
Add:
55
- "-ferror-limit=0"
66

7-
# Remove extra warnings specified in compile commands (specified in CMakePresets.json)
8-
Remove: -mabi
7+
Remove:
8+
- "-mabi"
99

1010
# if you are using VSCode and CMake Tools(provided by Microsoft) add
11-
# "cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json" to VSCode settings
11+
# "cmake.copyCompileCommands": "${workspaceFolder}/.vscode/compile_commands.json" to VSCode settings
1212
# because CompilationDatabase field in .clangd doesn't support multiple folders to search
13-
14-
# "compile_commands.json" path (specified in CMakePresets.json)
15-
# CompilationDatabase: out/build/Windows-llvm-Debug
13+
CompilationDatabase: .vscode
1614

1715
InlayHints:
1816
Enabled: No

0 commit comments

Comments
 (0)