blob: ddfe2d702c7d38ede4058cc50d2793f53b2ddd88 [file] [log] [blame]
Brad Bishop615b2a82018-03-29 10:32:41 -04001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brad Bishopa83db302020-12-06 14:51:23 -05008AlignEscapedNewlines: Right
Brad Bishop615b2a82018-03-29 10:32:41 -04009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Brad Bishop615b2a82018-03-29 10:32:41 -040017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Brad Bishopa83db302020-12-06 14:51:23 -050019AlwaysBreakTemplateDeclarations: Yes
Brad Bishop615b2a82018-03-29 10:32:41 -040020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Brad Bishopa83db302020-12-06 14:51:23 -050023 AfterCaseLabel: true
Brad Bishop615b2a82018-03-29 10:32:41 -040024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Brad Bishopa83db302020-12-06 14:51:23 -050032 AfterExternBlock: true
Brad Bishop615b2a82018-03-29 10:32:41 -040033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Brad Bishopa83db302020-12-06 14:51:23 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Brad Bishop615b2a82018-03-29 10:32:41 -040039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Brad Bishopa83db302020-12-06 14:51:23 -050043BreakInheritanceList: AfterColon
George Liu794a6c52022-04-14 14:29:34 +080044BreakStringLiterals: false
Brad Bishop615b2a82018-03-29 10:32:41 -040045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Brad Bishopa83db302020-12-06 14:51:23 -050047CompactNamespaces: false
Brad Bishop615b2a82018-03-29 10:32:41 -040048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
George Liu794a6c52022-04-14 14:29:34 +080052DeriveLineEnding: false
Patrick Venturea680d1e2018-10-14 13:34:26 -070053DerivePointerAlignment: false
Brad Bishop615b2a82018-03-29 10:32:41 -040054PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Venturea680d1e2018-10-14 13:34:26 -070059IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Brad Bishopa83db302020-12-06 14:51:23 -050062 Priority: 7
Patrick Venturea680d1e2018-10-14 13:34:26 -070063 - Regex: '^"config.h"'
64 Priority: -1
Brad Bishopa83db302020-12-06 14:51:23 -050065 - Regex: '^".*\.h"'
Patrick Venturea680d1e2018-10-14 13:34:26 -070066 Priority: 1
Brad Bishopa83db302020-12-06 14:51:23 -050067 - Regex: '^".*\.hpp"'
Patrick Venturea680d1e2018-10-14 13:34:26 -070068 Priority: 2
Brad Bishopa83db302020-12-06 14:51:23 -050069 - Regex: '^<.*\.h>'
Patrick Venturea680d1e2018-10-14 13:34:26 -070070 Priority: 3
Brad Bishopa83db302020-12-06 14:51:23 -050071 - Regex: '^<.*\.hpp>'
Patrick Venturea680d1e2018-10-14 13:34:26 -070072 Priority: 4
Brad Bishopa83db302020-12-06 14:51:23 -050073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Brad Bishop615b2a82018-03-29 10:32:41 -040077IndentCaseLabels: true
78IndentWidth: 4
79IndentWrappedFunctionNames: true
80KeepEmptyLinesAtTheStartOfBlocks: true
81MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
Brad Bishop615b2a82018-03-29 10:32:41 -040094ReflowComments: true
Patrick Venturea680d1e2018-10-14 13:34:26 -070095SortIncludes: true
96SortUsingDeclarations: true
Brad Bishop615b2a82018-03-29 10:32:41 -040097SpaceAfterCStyleCast: false
Brad Bishopa83db302020-12-06 14:51:23 -050098SpaceAfterTemplateKeyword: true
Brad Bishop615b2a82018-03-29 10:32:41 -040099SpaceBeforeAssignmentOperators: true
Brad Bishopa83db302020-12-06 14:51:23 -0500100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400103SpaceBeforeParens: ControlStatements
Brad Bishopa83db302020-12-06 14:51:23 -0500104SpaceBeforeRangeBasedForLoopColon: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
Brad Bishopa83db302020-12-06 14:51:23 -0500112Standard: Latest
Brad Bishop615b2a82018-03-29 10:32:41 -0400113TabWidth: 4
George Liu794a6c52022-04-14 14:29:34 +0800114UseCRLF: false
Brad Bishop615b2a82018-03-29 10:32:41 -0400115UseTab: Never
116...