--- BasedOnStyle: LLVM --- Language: Cpp AccessModifierOffset: -4 BreakBeforeBraces: Attach # 对齐连续的尾随的注释 AlignTrailingComments: true AllowAllConstructorInitializersOnNextLine: false # 允许短的块放在同一行 AllowShortBlocksOnASingleLine: true # 允许短的case标签放在同一行 AllowShortCaseLabelsOnASingleLine: false # 允许短的函数放在同一行: None, InlineOnly(定义在类中), Empty(空函数), Inline(定义在类中,空函数), All AllowShortFunctionsOnASingleLine: Empty # 允许短的lambda放在同一行 AllowShortLambdasOnASingleLine: Empty # 允许短的if语句保持在同一行 AllowShortIfStatementsOnASingleLine: true # 允许短的循环保持在同一行 AllowShortLoopsOnASingleLine: true AlwaysBreakBeforeMultilineStrings: true BraceWrapping: AfterClass: true AfterControlStatement: Always AfterEnum: true AfterFunction: true AfterStruct: true AfterUnion: true AfterExternBlock: true BeforeCatch: true BeforeElse: true CommentPragmas: "^ NOLINT:" IndentWidth: 4 PointerAlignment: Right SortIncludes: false SortUsingDeclarations: false SpacesBeforeTrailingComments: 1 SpacesInContainerLiterals: false Standard: Cpp11 TabWidth: 4 ColumnLimit: 0