blob: 52ac0a17d460aa36f5d7067e6e117cab19927369 [file] [log] [blame]
Andrew Geissler58a18012018-01-19 19:36:05 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Andrew Geisslere426b582020-05-28 12:40:55 -05008AlignEscapedNewlines: Right
Andrew Geissler58a18012018-01-19 19:36:05 -08009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Andrew Geissler58a18012018-01-19 19:36:05 -080017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Andrew Geisslere426b582020-05-28 12:40:55 -050019AlwaysBreakTemplateDeclarations: Yes
Andrew Geissler58a18012018-01-19 19:36:05 -080020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Andrew Geisslere426b582020-05-28 12:40:55 -050023 AfterCaseLabel: true
Andrew Geissler58a18012018-01-19 19:36:05 -080024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Andrew Geisslere426b582020-05-28 12:40:55 -050032 AfterExternBlock: true
Andrew Geissler58a18012018-01-19 19:36:05 -080033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Andrew Geisslere426b582020-05-28 12:40:55 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Andrew Geissler58a18012018-01-19 19:36:05 -080039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Andrew Geisslere426b582020-05-28 12:40:55 -050043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
Andrew Geissler58a18012018-01-19 19:36:05 -080045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Andrew Geisslere426b582020-05-28 12:40:55 -050047CompactNamespaces: false
Andrew Geissler58a18012018-01-19 19:36:05 -080048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Andrew Geisslere426b582020-05-28 12:40:55 -050052DerivePointerAlignment: false
Andrew Geissler58a18012018-01-19 19:36:05 -080053PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Andrew Geisslere426b582020-05-28 12:40:55 -050058IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '^[<"](gtest|gmock)'
61 Priority: 7
62 - Regex: '^"config.h"'
63 Priority: -1
64 - Regex: '^".*\.h"'
65 Priority: 1
66 - Regex: '^".*\.hpp"'
67 Priority: 2
68 - Regex: '^<.*\.h>'
69 Priority: 3
70 - Regex: '^<.*\.hpp>'
71 Priority: 4
72 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Andrew Geissler58a18012018-01-19 19:36:05 -080076IndentCaseLabels: true
77IndentWidth: 4
Adriana Kobylak90e5ae72018-02-28 13:33:04 -060078IndentWrappedFunctionNames: true
Andrew Geissler58a18012018-01-19 19:36:05 -080079KeepEmptyLinesAtTheStartOfBlocks: 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
Andrew Geissler58a18012018-01-19 19:36:05 -080093ReflowComments: true
Andrew Geisslere426b582020-05-28 12:40:55 -050094SortIncludes: true
95SortUsingDeclarations: true
Andrew Geissler58a18012018-01-19 19:36:05 -080096SpaceAfterCStyleCast: false
Andrew Geisslere426b582020-05-28 12:40:55 -050097SpaceAfterTemplateKeyword: true
Andrew Geissler58a18012018-01-19 19:36:05 -080098SpaceBeforeAssignmentOperators: true
Andrew Geisslere426b582020-05-28 12:40:55 -050099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800102SpaceBeforeParens: ControlStatements
Andrew Geisslere426b582020-05-28 12:40:55 -0500103SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
Andrew Geisslere426b582020-05-28 12:40:55 -0500111Standard: Latest
Andrew Geissler58a18012018-01-19 19:36:05 -0800112TabWidth: 4
113UseTab: Never
114...
115