|
| 1 | +# http://clang.llvm.org/docs/ClangFormatStyleOptions.html |
| 2 | +--- |
| 3 | +Language: Cpp |
| 4 | +AccessModifierOffset: 0 |
| 5 | +AlignAfterOpenBracket: true |
| 6 | +AlignEscapedNewlinesLeft: false |
| 7 | +AlignOperands: true |
| 8 | +AlignTrailingComments: true |
| 9 | +AllowAllParametersOfDeclarationOnNextLine: true |
| 10 | +AllowShortBlocksOnASingleLine: true |
| 11 | +AllowShortCaseLabelsOnASingleLine: false |
| 12 | +AllowShortFunctionsOnASingleLine: All |
| 13 | +AllowShortIfStatementsOnASingleLine: true |
| 14 | +AllowShortLoopsOnASingleLine: true |
| 15 | +AlwaysBreakAfterDefinitionReturnType: false |
| 16 | +AlwaysBreakBeforeMultilineStrings: false |
| 17 | +AlwaysBreakTemplateDeclarations: false |
| 18 | +BinPackArguments: true |
| 19 | +BinPackParameters: true |
| 20 | +BreakBeforeBinaryOperators: None |
| 21 | +BreakBeforeBraces: Linux |
| 22 | +BreakBeforeTernaryOperators: true |
| 23 | +BreakConstructorInitializersBeforeComma: false |
| 24 | +ColumnLimit: 120 |
| 25 | +CommentPragmas: '^ IWYU pragma:' |
| 26 | +ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 27 | +ConstructorInitializerIndentWidth: 4 |
| 28 | +ContinuationIndentWidth: 4 |
| 29 | +Cpp11BracedListStyle: true |
| 30 | +DerivePointerAlignment: false |
| 31 | +DisableFormat: false |
| 32 | +ExperimentalAutoDetectBinPacking: false |
| 33 | +ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 34 | +IndentCaseLabels: false |
| 35 | +IndentFunctionDeclarationAfterType: false |
| 36 | +IndentWidth: 4 |
| 37 | +IndentWrappedFunctionNames: false |
| 38 | +KeepEmptyLinesAtTheStartOfBlocks: true |
| 39 | +MaxEmptyLinesToKeep: 1 |
| 40 | +NamespaceIndentation: None |
| 41 | +PenaltyBreakBeforeFirstCallParameter: 19 |
| 42 | +PenaltyBreakComment: 300 |
| 43 | +PenaltyBreakFirstLessLess: 120 |
| 44 | +PenaltyBreakString: 1000 |
| 45 | +PenaltyExcessCharacter: 1000000 |
| 46 | +PenaltyReturnTypeOnItsOwnLine: 60 |
| 47 | +PointerAlignment: Right |
| 48 | +SpaceAfterCStyleCast: false |
| 49 | +SpaceBeforeAssignmentOperators: true |
| 50 | +SpaceBeforeParens: ControlStatements |
| 51 | +SpaceInEmptyParentheses: false |
| 52 | +SpacesBeforeTrailingComments: 1 |
| 53 | +SpacesInAngles: false |
| 54 | +SpacesInCStyleCastParentheses: false |
| 55 | +SpacesInContainerLiterals: true |
| 56 | +SpacesInParentheses: false |
| 57 | +SpacesInSquareBrackets: false |
| 58 | +Standard: Cpp11 |
| 59 | +TabWidth: 4 |
| 60 | +UseTab: Always |
| 61 | +... |
0 commit comments