X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/93f5a2911dabd71f59a7ac34eb3d2ab890986189..657a096a9b51afbd00b8139950a36b9f5bc0a5ff:/.config/clangd/config.yaml diff --git a/.config/clangd/config.yaml b/.config/clangd/config.yaml index 709ad13..dee922c 100644 --- a/.config/clangd/config.yaml +++ b/.config/clangd/config.yaml @@ -1,30 +1,34 @@ CompileFlags: - Add: [ - -Wall, - #-Wextra -Werror, - -xc++, - -std=c++11, - -DCLANGD=1, + Add: + - -Wall + - -Wextra -Werror + - -xc++ + - -std=c++20 + - -DCLANGD=1 - -I., - -Ilib, - -Iinclude, + - -I. + - -Ilib + - -Iinclude - -I/home/xbao/lib, + - -I/home/xbao/lib - -DVERBOSE=1, - ] + - -DVERBOSE=1 Remove: [] Diagnostics: ClangTidy: - Add: [ - #performance-*, - #bugprone-*, - #portability-*, - #modernize-*, - ] - Remove: [ - #misc-definitions-in-headers, - #modernize-use-trailing-return-type, - ] + Add: + - performance-* + - bugprone-* + - portability-* + - modernize-* + Remove: + - modernize-use-nodiscard + - modernize-use-trailing-return-type + - bugprone-easily-swappable-parameters + +InlayHints: + Designators: true + Enabled: false + ParameterNames: true + DeducedTypes: true