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