From: Xinqi Bao Date: Wed, 29 Dec 2021 09:11:30 +0000 (+0800) Subject: add .config/clangd X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/commitdiff_plain/93f5a2911dabd71f59a7ac34eb3d2ab890986189?hp=31c7165b0830fb690d133d7d6bced251775ecf94 add .config/clangd --- diff --git a/.config/clangd/config.yaml b/.config/clangd/config.yaml new file mode 100644 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, + ]