| 1 |
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html |
| 2 |
|
| 3 |
BasedOnStyle: LLVM |
| 4 |
AccessModifierOffset: -4 |
| 5 |
AlignAfterOpenBracket: AlwaysBreak |
| 6 |
AlignConsecutiveAssignments: true |
| 7 |
AlignConsecutiveDeclarations: true |
| 8 |
AlignEscapedNewlinesLeft: true |
| 9 |
AlignOperands: true |
| 10 |
AlignTrailingComments: true |
| 11 |
AllowAllParametersOfDeclarationOnNextLine: true |
| 12 |
AllowShortBlocksOnASingleLine: false |
| 13 |
AllowShortCaseLabelsOnASingleLine: true |
| 14 |
AllowShortFunctionsOnASingleLine: false |
| 15 |
AllowShortIfStatementsOnASingleLine: false |
| 16 |
AllowShortLoopsOnASingleLine: false |
| 17 |
AlwaysBreakAfterDefinitionReturnType: All |
| 18 |
AlwaysBreakAfterReturnType: None |
| 19 |
AlwaysBreakBeforeMultilineStrings: true |
| 20 |
# AlwaysBreakTemplateDeclarations (bool) |
| 21 |
# BinPackArguments (bool) |
| 22 |
BinPackParameters: true |
| 23 |
# BraceWrapping (BraceWrappingFlags) |
| 24 |
# BreakAfterJavaFieldAnnotations (bool) |
| 25 |
# BreakBeforeBinaryOperators (BinaryOperatorStyle) |
| 26 |
BreakBeforeBraces: Linux |
| 27 |
# BreakBeforeTernaryOperators (bool) |
| 28 |
# BreakConstructorInitializersBeforeComma (bool) |
| 29 |
# BreakStringLiterals (bool) |
| 30 |
ColumnLimit: 0 |
| 31 |
# CommentPragmas (std::string) |
| 32 |
# ConstructorInitializerAllOnOneLineOrOnePerLine (bool) |
| 33 |
# ConstructorInitializerIndentWidth (unsigned) |
| 34 |
# ContinuationIndentWidth (unsigned) |
| 35 |
# Cpp11BracedListStyle (bool) |
| 36 |
DerivePointerAlignment: false |
| 37 |
# DisableFormat (bool) |
| 38 |
# ExperimentalAutoDetectBinPacking (bool) |
| 39 |
# ForEachMacros (std::vector<std::string>) |
| 40 |
# IncludeCategories (std::vector<IncludeCategory>) |
| 41 |
# IncludeIsMainRegex (std::string) |
| 42 |
IndentCaseLabels: true |
| 43 |
IndentWidth: 4 |
| 44 |
# IndentWrappedFunctionNames (bool) |
| 45 |
# JavaScriptQuotes (JavaScriptQuoteStyle) |
| 46 |
# KeepEmptyLinesAtTheStartOfBlocks (bool) |
| 47 |
# Language (LanguageKind) |
| 48 |
# MacroBlockBegin (std::string) |
| 49 |
# MacroBlockEnd (std::string) |
| 50 |
# MaxEmptyLinesToKeep (unsigned) |
| 51 |
NamespaceIndentation: All |
| 52 |
# ObjCBlockIndentWidth (unsigned) |
| 53 |
# ObjCSpaceAfterProperty (bool) |
| 54 |
# ObjCSpaceBeforeProtocolList (bool) |
| 55 |
# PenaltyBreakBeforeFirstCallParameter (unsigned) |
| 56 |
# PenaltyBreakComment (unsigned) |
| 57 |
# PenaltyBreakFirstLessLess (unsigned) |
| 58 |
# PenaltyBreakString (unsigned) |
| 59 |
# PenaltyExcessCharacter (unsigned) |
| 60 |
# PenaltyReturnTypeOnItsOwnLine: 1000 |
| 61 |
PointerAlignment: Right |
| 62 |
# ReflowComments (bool) |
| 63 |
SortIncludes: false |
| 64 |
# SpaceAfterCStyleCast (bool) |
| 65 |
# SpaceAfterTemplateKeyword (bool) |
| 66 |
SpaceBeforeAssignmentOperators: true |
| 67 |
SpaceBeforeParens: ControlStatements |
| 68 |
SpaceInEmptyParentheses: false |
| 69 |
# SpacesBeforeTrailingComments (unsigned) |
| 70 |
# SpacesInAngles (bool) |
| 71 |
SpacesInCStyleCastParentheses: false |
| 72 |
# SpacesInContainerLiterals (bool) |
| 73 |
SpacesInParentheses: false |
| 74 |
SpacesInSquareBrackets: false |
| 75 |
# Standard (LanguageStandard) |
| 76 |
TabWidth: 4 |
| 77 |
UseTab: ForIndentation |
| 78 |
|
| 79 |
IndentPPDirectives: AfterHash |