blob: 9529a46330de416b280d5b88e7550f0a37bec154 [file] [log] [blame]
Ben Claytond4e64472019-02-01 08:18:19 +00001---
2Language: Cpp
3# BasedOnStyle: Google
4AccessModifierOffset: -4
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Left
9AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: true
13AllowShortCaseLabelsOnASingleLine: true
14AllowShortFunctionsOnASingleLine: Inline
15AllowShortIfStatementsOnASingleLine: true
16AllowShortLoopsOnASingleLine: true
17AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
19AlwaysBreakBeforeMultilineStrings: true
20AlwaysBreakTemplateDeclarations: true
21BinPackArguments: true
22BinPackParameters: true
23BraceWrapping:
Nicolas Capensdb747762020-03-31 12:00:46 -040024 AfterCaseLabel: true
Ben Claytond4e64472019-02-01 08:18:19 +000025 AfterClass: true
26 AfterControlStatement: true
27 AfterEnum: true
28 AfterExternBlock: false
29 AfterFunction: true
30 AfterNamespace: false
31 AfterStruct: true
32 AfterUnion: true
33 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
36 SplitEmptyFunction: false
37 SplitEmptyNamespace: false
38 SplitEmptyRecord: false
39BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeInheritanceComma: false
42BreakBeforeTernaryOperators: true
43BreakConstructorInitializersBeforeComma: false
44BreakConstructorInitializers: BeforeComma
45BreakAfterJavaFieldAnnotations: false
46BreakStringLiterals: true
47ColumnLimit: 0
48CommentPragmas: '^ IWYU pragma:'
49CompactNamespaces: false
50ConstructorInitializerAllOnOneLineOrOnePerLine: false
51ConstructorInitializerIndentWidth: 4
52ContinuationIndentWidth: 4
53Cpp11BracedListStyle: false
54DerivePointerAlignment: false
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros:
59 - Q_FOREACH
60 - BOOST_FOREACH
61IncludeBlocks: Preserve
62IncludeCategories:
63 - Regex: '^"[^/]*"'
64 Priority: 1
65 - Regex: '^".*/.*"'
66 Priority: 2
67 - Regex: '^<.*\..*>'
68 Priority: 3
69 - Regex: '^<[^.]*>'
70 Priority: 4
71 - Regex: '.*'
72 Priority: 5
73IncludeIsMainRegex: '([-_](test|unittest))?$'
74IndentCaseLabels: true
75IndentPPDirectives: AfterHash
76IndentWidth: 4
77IndentWrappedFunctionNames: false
78JavaScriptQuotes: Leave
79JavaScriptWrapImports: true
80KeepEmptyLinesAtTheStartOfBlocks: true
81MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: false
88PenaltyBreakAssignment: 2
89PenaltyBreakBeforeFirstCallParameter: 1
90PenaltyBreakComment: 300
91PenaltyBreakFirstLessLess: 120
92PenaltyBreakString: 1000
93PenaltyExcessCharacter: 1000000
94PenaltyReturnTypeOnItsOwnLine: 200
95PointerAlignment: Right
96RawStringFormats:
97 - Language: TextProto
98 BasedOnStyle: google
99ReflowComments: true
100SortIncludes: true
101SortUsingDeclarations: true
102SpaceAfterCStyleCast: false
103SpaceAfterTemplateKeyword: false
104SpaceBeforeAssignmentOperators: true
105SpaceBeforeParens: Never
106SpaceInEmptyParentheses: false
107SpacesBeforeTrailingComments: 2
108SpacesInAngles: false
109SpacesInContainerLiterals: true
110SpacesInCStyleCastParentheses: false
111SpacesInParentheses: false
112SpacesInSquareBrackets: false
113Standard: Auto
114TabWidth: 4
115UseTab: ForIndentation
116...
117