-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clangd
More file actions
21 lines (17 loc) · 896 Bytes
/
.clangd
File metadata and controls
21 lines (17 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CompileFlags: # Tweak the parse settings
Add: -ferror-limit=0
#Add: [-xc++, -Wall] # treat all files as C++, enable more warnings
#Add: [-Wall, -Wno-return-local-addr, -Wno-sign-compare, -Wno-unused-variable, -Wno-unused-parameter, -Wextra, -pedantic, -Werror] # treat all files as C++, enable more warnings
#Remove: -W* # strip all other warning-related flags
#Compiler: clang++ # Change argv[0] of compile flags to `clang++`
Diagnostics:
Suppress:
[
-Wsign-compare,
-Wunused-variable,
-Wunused-parameter,
-Wswitch,
-Wgnu-zero-variadic-macro-arguments,
-Wdefaulted-function-deleted
]
#Suppress: [-Wreturn-local-addr, -Wsign-compare, -Wunused-variable, -Wunused-parameter, -Wreturn-stack-address, -Wdefaulted-function-deleted, -Wgnu-zero-variadic-macro-arguments]