|
| 1 | +--- |
| 2 | + |
| 3 | +Language: Cpp |
| 4 | +BasedOnStyle: LLVM |
| 5 | +AccessModifierOffset: -4 |
| 6 | +AlignAfterOpenBracket: DontAlign |
| 7 | +AlignEscapedNewlines: Left |
| 8 | +AlignTrailingComments: false |
| 9 | +AllowAllParametersOfDeclarationOnNextLine: true |
| 10 | +AllowShortCaseLabelsOnASingleLine: false |
| 11 | +AllowShortFunctionsOnASingleLine: All |
| 12 | +AllowShortIfStatementsOnASingleLine: false |
| 13 | +AllowShortLoopsOnASingleLine: false |
| 14 | +AlwaysBreakBeforeMultilineStrings: false |
| 15 | +AlwaysBreakTemplateDeclarations: No |
| 16 | +BinPackArguments: true |
| 17 | +BinPackParameters: true |
| 18 | +BraceWrapping: |
| 19 | + AfterClass: false |
| 20 | + AfterControlStatement: false |
| 21 | + AfterEnum: false |
| 22 | + AfterFunction: true |
| 23 | + AfterNamespace: false |
| 24 | + AfterObjCDeclaration: false |
| 25 | + AfterStruct: false |
| 26 | + AfterUnion: false |
| 27 | + BeforeCatch: false |
| 28 | + BeforeElse: false |
| 29 | + IndentBraces: false |
| 30 | + SplitEmptyFunction: true |
| 31 | + SplitEmptyRecord: true |
| 32 | + SplitEmptyNamespace: true |
| 33 | +BreakBeforeBinaryOperators: All |
| 34 | +BreakBeforeTernaryOperators: false |
| 35 | +BreakConstructorInitializers: BeforeComma |
| 36 | +BreakStringLiterals: true |
| 37 | +ColumnLimit: 0 |
| 38 | +CommentPragmas: "suppress" |
| 39 | +CompactNamespaces: false |
| 40 | +ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 41 | +ConstructorInitializerIndentWidth: 4 |
| 42 | +ContinuationIndentWidth: 4 |
| 43 | +Cpp11BracedListStyle: false |
| 44 | +DerivePointerAlignment: false |
| 45 | +DisableFormat: false # this will help for using // clang-format off // clang-format on |
| 46 | +FixNamespaceComments: false |
| 47 | +# If this is needed or not |
| 48 | +# IncludeBlocks: Regroup |
| 49 | +IncludeCategories: |
| 50 | + - Regex: '^.*(precomp|pch|stdafx)' |
| 51 | + Priority: -1 |
| 52 | + - Regex: '^".*"' |
| 53 | + Priority: 1 |
| 54 | + - Regex: '^<.*>' |
| 55 | + Priority: 2 |
| 56 | + - Regex: '.*' |
| 57 | + Priority: 3 |
| 58 | +IndentCaseLabels: false |
| 59 | +IndentWidth: 4 |
| 60 | +KeepEmptyLinesAtTheStartOfBlocks: false |
| 61 | +MacroBlockBegin: '' |
| 62 | +MacroBlockEnd: '' |
| 63 | +MaxEmptyLinesToKeep: 1 |
| 64 | +NamespaceIndentation: All |
| 65 | +PointerAlignment: Right |
| 66 | +ReflowComments: false |
| 67 | +SortIncludes: true |
| 68 | +SpaceAfterTemplateKeyword: false |
| 69 | +SpaceInEmptyBlock : true |
| 70 | +SpaceInEmptyParentheses: false |
| 71 | +SpacesBeforeTrailingComments: 1 |
| 72 | +SpacesInAngles: false |
| 73 | +SpacesInContainerLiterals: true |
| 74 | +SpacesInCStyleCastParentheses: false |
| 75 | + |
| 76 | +--- |
0 commit comments