3 # BasedOnStyle: Chromium
4 AccessModifierOffset: -2
5 # AlwaysBreak is also okay
6 AlignAfterOpenBracket: Align
7 AlignConsecutiveAssignments: true
8 AlignConsecutiveDeclarations: false
10 AlignEscapedNewlinesLeft: true
13 AlignTrailingComments: true
14 AllowAllParametersOfDeclarationOnNextLine: false
15 AllowShortBlocksOnASingleLine: false
16 AllowShortCaseLabelsOnASingleLine: false
17 AllowShortFunctionsOnASingleLine: None
18 AllowShortIfStatementsOnASingleLine: false
19 AllowShortLoopsOnASingleLine: false
20 AlwaysBreakAfterDefinitionReturnType: None
21 AlwaysBreakAfterReturnType: None
22 AlwaysBreakBeforeMultilineStrings: true
23 AlwaysBreakTemplateDeclarations: true
25 BinPackArguments: false
26 BinPackParameters: false
29 AfterControlStatement: false
33 AfterObjCDeclaration: false
39 BreakBeforeBinaryOperators: None
40 BreakBeforeBraces: Linux
41 BreakBeforeTernaryOperators: true
43 BreakConstructorInitializersBeforeComma: false
45 CommentPragmas: '^ IWYU pragma:'
46 ConstructorInitializerAllOnOneLineOrOnePerLine: true
47 ConstructorInitializerIndentWidth: 4
48 ContinuationIndentWidth: 4
49 Cpp11BracedListStyle: true
50 DerivePointerAlignment: false
52 ExperimentalAutoDetectBinPacking: false
53 ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
61 IndentCaseLabels: true
63 IndentWrappedFunctionNames: false
64 KeepEmptyLinesAtTheStartOfBlocks: false
67 MaxEmptyLinesToKeep: 1
68 NamespaceIndentation: All
69 ObjCBlockIndentWidth: 2
70 ObjCSpaceAfterProperty: false
71 ObjCSpaceBeforeProtocolList: false
72 PenaltyBreakBeforeFirstCallParameter: 1
73 PenaltyBreakComment: 300
74 PenaltyBreakFirstLessLess: 120
75 PenaltyBreakString: 1000
76 PenaltyExcessCharacter: 1000000
77 PenaltyReturnTypeOnItsOwnLine: 200
78 PointerAlignment: Left
82 SpaceAfterCStyleCast: false
83 SpaceBeforeAssignmentOperators: true
84 SpaceBeforeParens: Never
85 SpaceInEmptyParentheses: false
86 SpacesBeforeTrailingComments: 2
88 SpacesInContainerLiterals: true
89 SpacesInCStyleCastParentheses: false
90 SpacesInParentheses: false
91 SpacesInSquareBrackets: false