修正配置,适应新版 clangd。

Signed-off-by: rick.chan <cy@haoan119.com>
This commit is contained in:
rick.chan 2025-03-14 10:43:03 +08:00
parent 83a28d4779
commit b1b11ac5f3

View File

@ -74,7 +74,6 @@ IncludeBlocks: Regroup
IndentCaseLabels: 'false'
IndentPPDirectives: None
IndentWidth: '4'
Language: Cpp
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: None
PointerAlignment: Left
@ -2664,6 +2663,7 @@ WhitespaceSensitiveMacros:
```yml
---
# 语言: None, Cpp, Java, JavaScript, ObjC, Proto, TableGen, TextProto
# Language: Cpp
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
@ -2843,7 +2843,6 @@ JavaScriptWrapImports: true
KeepEmptyLinesAtEOF: false
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
Language: Cpp
LineEnding: DeriveLF
MacroBlockBegin: ""
MacroBlockEnd: ""