blob: 79a474d9d77d5461dca3fbd50a69617ae36ea547 [file] [log] [blame]
Patrick Venture91ac8d32018-11-01 17:03:22 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liua6c18f82020-06-22 10:50:04 +08008AlignEscapedNewlines: Right
Patrick Venture91ac8d32018-11-01 17:03:22 -07009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
George Liua6c18f82020-06-22 10:50:04 +080019AlwaysBreakTemplateDeclarations: Yes
Patrick Venture91ac8d32018-11-01 17:03:22 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
George Liua6c18f82020-06-22 10:50:04 +080023 AfterCaseLabel: true
Patrick Venture91ac8d32018-11-01 17:03:22 -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 Liua6c18f82020-06-22 10:50:04 +080032 AfterExternBlock: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
George Liua6c18f82020-06-22 10:50:04 +080036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
George Liua6c18f82020-06-22 10:50:04 +080043BreakInheritanceList: AfterColon
George Liud870d682021-09-09 20:16:49 +080044BreakStringLiterals: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
George Liua6c18f82020-06-22 10:50:04 +080047CompactNamespaces: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
George Liu23d54082021-12-07 11:06:33 +080052DeriveLineEnding: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
George Liua6c18f82020-06-22 10:50:04 +080062 Priority: 7
Patrick Venture91ac8d32018-11-01 17:03:22 -070063 - Regex: '^"config.h"'
64 Priority: -1
George Liua6c18f82020-06-22 10:50:04 +080065 - Regex: '^".*\.h"'
Patrick Venture91ac8d32018-11-01 17:03:22 -070066 Priority: 1
George Liua6c18f82020-06-22 10:50:04 +080067 - Regex: '^".*\.hpp"'
Patrick Venture91ac8d32018-11-01 17:03:22 -070068 Priority: 2
George Liua6c18f82020-06-22 10:50:04 +080069 - Regex: '^<.*\.h>'
Patrick Venture91ac8d32018-11-01 17:03:22 -070070 Priority: 3
George Liua6c18f82020-06-22 10:50:04 +080071 - Regex: '^<.*\.hpp>'
Patrick Venture91ac8d32018-11-01 17:03:22 -070072 Priority: 4
George Liua6c18f82020-06-22 10:50:04 +080073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Patrick Venture91ac8d32018-11-01 17:03:22 -070077IndentCaseLabels: true
78IndentWidth: 4
79IndentWrappedFunctionNames: true
George Liu65bf3d92022-06-07 13:43:54 +080080KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Venture91ac8d32018-11-01 17:03:22 -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 Liua6c18f82020-06-22 10:50:04 +080098SpaceAfterTemplateKeyword: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070099SpaceBeforeAssignmentOperators: true
George Liua6c18f82020-06-22 10:50:04 +0800100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700103SpaceBeforeParens: ControlStatements
George Liua6c18f82020-06-22 10:50:04 +0800104SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
George Liua6c18f82020-06-22 10:50:04 +0800112Standard: Latest
Patrick Venture91ac8d32018-11-01 17:03:22 -0700113TabWidth: 4
George Liu23d54082021-12-07 11:06:33 +0800114UseCRLF: false
Patrick Venture91ac8d32018-11-01 17:03:22 -0700115UseTab: Never
116...