blob: 79a474d9d77d5461dca3fbd50a69617ae36ea547 [file] [log] [blame]
Vernon Mauery9e801a22018-10-12 13:20:49 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liubc8958f2022-07-04 09:29:49 +08008AlignEscapedNewlines: Right
Vernon Mauery9e801a22018-10-12 13:20:49 -07009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Vernon Mauery9e801a22018-10-12 13:20:49 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
George Liubc8958f2022-07-04 09:29:49 +080019AlwaysBreakTemplateDeclarations: Yes
Vernon Mauery9e801a22018-10-12 13:20:49 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Vernon Mauery5b114ed2020-05-29 14:21:17 -070023 AfterCaseLabel: true
Vernon Mauery9e801a22018-10-12 13:20:49 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
George Liubc8958f2022-07-04 09:29:49 +080032 AfterExternBlock: true
Vernon Mauery9e801a22018-10-12 13:20:49 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
George Liubc8958f2022-07-04 09:29:49 +080036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Vernon Mauery9e801a22018-10-12 13:20:49 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
George Liubc8958f2022-07-04 09:29:49 +080043BreakInheritanceList: AfterColon
44BreakStringLiterals: false
Vernon Mauery9e801a22018-10-12 13:20:49 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
George Liubc8958f2022-07-04 09:29:49 +080047CompactNamespaces: false
Vernon Mauery9e801a22018-10-12 13:20:49 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
George Liubc8958f2022-07-04 09:29:49 +080052DeriveLineEnding: false
Vernon Mauery9e801a22018-10-12 13:20:49 -070053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
George Liubc8958f2022-07-04 09:29:49 +080062 Priority: 7
Vernon Mauery9e801a22018-10-12 13:20:49 -070063 - Regex: '^"config.h"'
64 Priority: -1
George Liubc8958f2022-07-04 09:29:49 +080065 - Regex: '^".*\.h"'
Vernon Mauery9e801a22018-10-12 13:20:49 -070066 Priority: 1
George Liubc8958f2022-07-04 09:29:49 +080067 - Regex: '^".*\.hpp"'
Vernon Mauery9e801a22018-10-12 13:20:49 -070068 Priority: 2
George Liubc8958f2022-07-04 09:29:49 +080069 - Regex: '^<.*\.h>'
Vernon Mauery9e801a22018-10-12 13:20:49 -070070 Priority: 3
George Liubc8958f2022-07-04 09:29:49 +080071 - Regex: '^<.*\.hpp>'
Vernon Mauery9e801a22018-10-12 13:20:49 -070072 Priority: 4
George Liubc8958f2022-07-04 09:29:49 +080073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Vernon Mauery9e801a22018-10-12 13:20:49 -070077IndentCaseLabels: true
78IndentWidth: 4
79IndentWrappedFunctionNames: true
George Liubc8958f2022-07-04 09:29:49 +080080KeepEmptyLinesAtTheStartOfBlocks: false
Vernon Mauery9e801a22018-10-12 13:20:49 -070081MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
94ReflowComments: true
95SortIncludes: true
96SortUsingDeclarations: true
97SpaceAfterCStyleCast: false
George Liubc8958f2022-07-04 09:29:49 +080098SpaceAfterTemplateKeyword: true
Vernon Mauery9e801a22018-10-12 13:20:49 -070099SpaceBeforeAssignmentOperators: true
George Liubc8958f2022-07-04 09:29:49 +0800100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Vernon Mauery9e801a22018-10-12 13:20:49 -0700103SpaceBeforeParens: ControlStatements
George Liubc8958f2022-07-04 09:29:49 +0800104SpaceBeforeRangeBasedForLoopColon: true
Vernon Mauery9e801a22018-10-12 13:20:49 -0700105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
George Liubc8958f2022-07-04 09:29:49 +0800112Standard: Latest
Vernon Mauery9e801a22018-10-12 13:20:49 -0700113TabWidth: 4
George Liubc8958f2022-07-04 09:29:49 +0800114UseCRLF: false
Vernon Mauery9e801a22018-10-12 13:20:49 -0700115UseTab: Never
116...