Update clangd settings

This commit is contained in:
LagoLunatic 2024-10-19 13:09:03 -04:00
parent 9ed7cfc79d
commit ea7b18aa9f
2 changed files with 12 additions and 5 deletions

14
.clangd
View File

@ -1,5 +1,13 @@
# https://clangd.llvm.org/config
CompileFlags:
Add:
- -Wno-c++11-compat-deprecated-writable-strings
- -Wno-undefined-inline
Add: [
"-Wno-c++11-compat-deprecated-writable-strings",
"-Wno-undefined-inline",
]
---
If:
PathMatch: .*\.inc
CompileFlags:
Add: [
"-Wno-return-type",
]

View File

@ -34,6 +34,5 @@
},
"clangd.arguments": [
"--function-arg-placeholders=0",
"-header-insertion=never",
],
}