blob: 52ac0a17d460aa36f5d7067e6e117cab19927369 [file] [log] [blame]
Haiyue Wanga1c50752018-04-03 15:16:09 +08001---
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -07002Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -07008AlignEscapedNewlines: Right
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -07009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
Haiyue Wanga1c50752018-04-03 15:16:09 +080015AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -070019AlwaysBreakTemplateDeclarations: Yes
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
William A. Kennington III4f5ba642021-05-11 16:01:53 -070023 AfterCaseLabel: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
William A. Kennington III4f5ba642021-05-11 16:01:53 -070032 AfterExternBlock: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -070036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
William A. Kennington III4f5ba642021-05-11 16:01:53 -070043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
William A. Kennington III4f5ba642021-05-11 16:01:53 -070047CompactNamespaces: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
52DerivePointerAlignment: false
53PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
58IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '^[<"](gtest|gmock)'
William A. Kennington III4f5ba642021-05-11 16:01:53 -070061 Priority: 7
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070062 - Regex: '^"config.h"'
63 Priority: -1
William A. Kennington III4f5ba642021-05-11 16:01:53 -070064 - Regex: '^".*\.h"'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070065 Priority: 1
William A. Kennington III4f5ba642021-05-11 16:01:53 -070066 - Regex: '^".*\.hpp"'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070067 Priority: 2
William A. Kennington III4f5ba642021-05-11 16:01:53 -070068 - Regex: '^<.*\.h>'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070069 Priority: 3
William A. Kennington III4f5ba642021-05-11 16:01:53 -070070 - Regex: '^<.*\.hpp>'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070071 Priority: 4
William A. Kennington III4f5ba642021-05-11 16:01:53 -070072 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070076IndentCaseLabels: true
77IndentWidth: 4
78IndentWrappedFunctionNames: true
79KeepEmptyLinesAtTheStartOfBlocks: true
80MacroBlockBegin: ''
81MacroBlockEnd: ''
82MaxEmptyLinesToKeep: 1
83NamespaceIndentation: None
84ObjCBlockIndentWidth: 2
85ObjCSpaceAfterProperty: false
86ObjCSpaceBeforeProtocolList: true
87PenaltyBreakBeforeFirstCallParameter: 19
88PenaltyBreakComment: 300
89PenaltyBreakFirstLessLess: 120
90PenaltyBreakString: 1000
91PenaltyExcessCharacter: 1000000
92PenaltyReturnTypeOnItsOwnLine: 60
93ReflowComments: true
94SortIncludes: true
95SortUsingDeclarations: true
Haiyue Wanga1c50752018-04-03 15:16:09 +080096SpaceAfterCStyleCast: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -070097SpaceAfterTemplateKeyword: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070098SpaceBeforeAssignmentOperators: true
William A. Kennington III4f5ba642021-05-11 16:01:53 -070099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700102SpaceBeforeParens: ControlStatements
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700103SpaceBeforeRangeBasedForLoopColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700111Standard: Latest
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700112TabWidth: 4
113UseTab: Never
114...
Haiyue Wanga1c50752018-04-03 15:16:09 +0800115