blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Tom Josephcf0c6422019-02-10 21:37:44 +05301---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liu6492f522020-06-16 10:34:05 +08008AlignEscapedNewlines: Right
Patrick Williams6da4f912023-05-10 07:50:53 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Tom Josephcf0c6422019-02-10 21:37:44 +053013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams6da4f912023-05-10 07:50:53 -050014AllowShortBlocksOnASingleLine: Empty
Tom Josephcf0c6422019-02-10 21:37:44 +053015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams6da4f912023-05-10 07:50:53 -050016AllowShortFunctionsOnASingleLine: Empty
Tom Josephcf0c6422019-02-10 21:37:44 +053017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Tom Josephcf0c6422019-02-10 21:37:44 +053019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
George Liu6492f522020-06-16 10:34:05 +080021AlwaysBreakTemplateDeclarations: Yes
Tom Josephcf0c6422019-02-10 21:37:44 +053022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Deepak Kodihalli826c9d42020-05-26 01:58:06 -050025 AfterCaseLabel: true
Tom Josephcf0c6422019-02-10 21:37:44 +053026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
George Liu6492f522020-06-16 10:34:05 +080034 AfterExternBlock: true
Tom Josephcf0c6422019-02-10 21:37:44 +053035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
George Liu6492f522020-06-16 10:34:05 +080038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams6da4f912023-05-10 07:50:53 -050041BreakAfterAttributes: Never
Tom Josephcf0c6422019-02-10 21:37:44 +053042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
George Liu6492f522020-06-16 10:34:05 +080046BreakInheritanceList: AfterColon
George Liua6678d72021-09-14 09:54:45 +080047BreakStringLiterals: false
Tom Josephcf0c6422019-02-10 21:37:44 +053048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
George Liu6492f522020-06-16 10:34:05 +080050CompactNamespaces: false
Tom Josephcf0c6422019-02-10 21:37:44 +053051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Manojkiran Eda66d26e32021-11-23 09:09:18 +053055DeriveLineEnding: false
Tom Josephcf0c6422019-02-10 21:37:44 +053056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
George Liu6492f522020-06-16 10:34:05 +080065 Priority: 7
Tom Josephcf0c6422019-02-10 21:37:44 +053066 - Regex: '^"config.h"'
67 Priority: -1
George Liu6492f522020-06-16 10:34:05 +080068 - Regex: '^".*\.h"'
Tom Josephcf0c6422019-02-10 21:37:44 +053069 Priority: 1
George Liu6492f522020-06-16 10:34:05 +080070 - Regex: '^".*\.hpp"'
Tom Josephcf0c6422019-02-10 21:37:44 +053071 Priority: 2
George Liu6492f522020-06-16 10:34:05 +080072 - Regex: '^<.*\.h>'
Tom Josephcf0c6422019-02-10 21:37:44 +053073 Priority: 3
George Liu6492f522020-06-16 10:34:05 +080074 - Regex: '^<.*\.hpp>'
Tom Josephcf0c6422019-02-10 21:37:44 +053075 Priority: 4
George Liu6492f522020-06-16 10:34:05 +080076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Tom Josephcf0c6422019-02-10 21:37:44 +053080IndentCaseLabels: true
Patrick Williams6da4f912023-05-10 07:50:53 -050081IndentRequiresClause: true
Tom Josephcf0c6422019-02-10 21:37:44 +053082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams6da4f912023-05-10 07:50:53 -050084InsertNewlineAtEOF: true
Manojkiran Edaca1998f2022-06-06 16:48:25 +053085KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams6da4f912023-05-10 07:50:53 -050086LambdaBodyIndentation: OuterScope
87LineEnding: LF
Tom Josephcf0c6422019-02-10 21:37:44 +053088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams6da4f912023-05-10 07:50:53 -050095PenaltyBreakAssignment: 25
Tom Josephcf0c6422019-02-10 21:37:44 +053096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams6da4f912023-05-10 07:50:53 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Tom Josephcf0c6422019-02-10 21:37:44 +0530105ReflowComments: true
Patrick Williams6da4f912023-05-10 07:50:53 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Tom Josephcf0c6422019-02-10 21:37:44 +0530108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
George Liu6492f522020-06-16 10:34:05 +0800111SpaceAfterTemplateKeyword: true
Tom Josephcf0c6422019-02-10 21:37:44 +0530112SpaceBeforeAssignmentOperators: true
George Liu6492f522020-06-16 10:34:05 +0800113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Tom Josephcf0c6422019-02-10 21:37:44 +0530116SpaceBeforeParens: ControlStatements
George Liu6492f522020-06-16 10:34:05 +0800117SpaceBeforeRangeBasedForLoopColon: true
Tom Josephcf0c6422019-02-10 21:37:44 +0530118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
George Liu6492f522020-06-16 10:34:05 +0800125Standard: Latest
Tom Josephcf0c6422019-02-10 21:37:44 +0530126TabWidth: 4
127UseTab: Never
128...
Manojkiran Eda66d26e32021-11-23 09:09:18 +0530129