blob: 5a7a39024f13892bd59edbf6d5bc3730d7cbf8c8 [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))?$'
Nicolas Capens112faf42019-12-13 17:32:26 -050074IndentCaseBlocks: true
75IndentCaseLabels: false
Ben Claytond4e64472019-02-01 08:18:19 +000076IndentPPDirectives: AfterHash
77IndentWidth: 4
78IndentWrappedFunctionNames: false
79JavaScriptQuotes: Leave
80JavaScriptWrapImports: true
81KeepEmptyLinesAtTheStartOfBlocks: true
82MacroBlockBegin: ''
83MacroBlockEnd: ''
84MaxEmptyLinesToKeep: 1
85NamespaceIndentation: None
86ObjCBlockIndentWidth: 2
87ObjCSpaceAfterProperty: false
88ObjCSpaceBeforeProtocolList: false
89PenaltyBreakAssignment: 2
90PenaltyBreakBeforeFirstCallParameter: 1
91PenaltyBreakComment: 300
92PenaltyBreakFirstLessLess: 120
93PenaltyBreakString: 1000
94PenaltyExcessCharacter: 1000000
95PenaltyReturnTypeOnItsOwnLine: 200
96PointerAlignment: Right
97RawStringFormats:
98 - Language: TextProto
99 BasedOnStyle: google
100ReflowComments: true
101SortIncludes: true
102SortUsingDeclarations: true
103SpaceAfterCStyleCast: false
104SpaceAfterTemplateKeyword: false
105SpaceBeforeAssignmentOperators: true
106SpaceBeforeParens: Never
107SpaceInEmptyParentheses: false
108SpacesBeforeTrailingComments: 2
109SpacesInAngles: false
110SpacesInContainerLiterals: true
111SpacesInCStyleCastParentheses: false
112SpacesInParentheses: false
113SpacesInSquareBrackets: false
114Standard: Auto
115TabWidth: 4
116UseTab: ForIndentation
117...
118