Xinqi Bao's Git
projects
/
dotfiles.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
31c7165
)
add .config/clangd
author
Xinqi Bao <
[email protected]
>
Wed, 29 Dec 2021 09:11:30 +0000
(17:11 +0800)
committer
Xinqi Bao <
[email protected]
>
Wed, 29 Dec 2021 09:11:30 +0000
(17:11 +0800)
.config/clangd/config.yaml
[new file with mode: 0644]
blob
diff --git a/.config/clangd/config.yaml
b/.config/clangd/config.yaml
new file mode 100644
(file)
index 0000000..
709ad13
--- /dev/null
+++ b/
.config/clangd/config.yaml
@@ -0,0
+1,30
@@
+CompileFlags:
+ Add: [
+ -Wall,
+ #-Wextra -Werror,
+ -xc++,
+ -std=c++11,
+ -DCLANGD=1,
+
+ -I.,
+ -Ilib,
+ -Iinclude,
+
+ -I/home/xbao/lib,
+
+ -DVERBOSE=1,
+ ]
+ Remove: []
+
+Diagnostics:
+ ClangTidy:
+ Add: [
+ #performance-*,
+ #bugprone-*,
+ #portability-*,
+ #modernize-*,
+ ]
+ Remove: [
+ #misc-definitions-in-headers,
+ #modernize-use-trailing-return-type,
+ ]