blob: 52ac0a17d460aa36f5d7067e6e117cab19927369 [file] [log] [blame]
Brad Bishop615b2a82018-03-29 10:32:41 -04001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brad Bishopa83db302020-12-06 14:51:23 -05008AlignEscapedNewlines: Right
Brad Bishop615b2a82018-03-29 10:32:41 -04009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Brad Bishop615b2a82018-03-29 10:32:41 -040017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Brad Bishopa83db302020-12-06 14:51:23 -050019AlwaysBreakTemplateDeclarations: Yes
Brad Bishop615b2a82018-03-29 10:32:41 -040020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Brad Bishopa83db302020-12-06 14:51:23 -050023 AfterCaseLabel: true
Brad Bishop615b2a82018-03-29 10:32:41 -040024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Brad Bishopa83db302020-12-06 14:51:23 -050032 AfterExternBlock: true
Brad Bishop615b2a82018-03-29 10:32:41 -040033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Brad Bishopa83db302020-12-06 14:51:23 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Brad Bishop615b2a82018-03-29 10:32:41 -040039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Brad Bishopa83db302020-12-06 14:51:23 -050043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
Brad Bishop615b2a82018-03-29 10:32:41 -040045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Brad Bishopa83db302020-12-06 14:51:23 -050047CompactNamespaces: false
Brad Bishop615b2a82018-03-29 10:32:41 -040048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Patrick Venturea680d1e2018-10-14 13:34:26 -070052DerivePointerAlignment: false
Brad Bishop615b2a82018-03-29 10:32:41 -040053PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Venturea680d1e2018-10-14 13:34:26 -070058IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '^[<"](gtest|gmock)'
Brad Bishopa83db302020-12-06 14:51:23 -050061 Priority: 7
Patrick Venturea680d1e2018-10-14 13:34:26 -070062 - Regex: '^"config.h"'
63 Priority: -1
Brad Bishopa83db302020-12-06 14:51:23 -050064 - Regex: '^".*\.h"'
Patrick Venturea680d1e2018-10-14 13:34:26 -070065 Priority: 1
Brad Bishopa83db302020-12-06 14:51:23 -050066 - Regex: '^".*\.hpp"'
Patrick Venturea680d1e2018-10-14 13:34:26 -070067 Priority: 2
Brad Bishopa83db302020-12-06 14:51:23 -050068 - Regex: '^<.*\.h>'
Patrick Venturea680d1e2018-10-14 13:34:26 -070069 Priority: 3
Brad Bishopa83db302020-12-06 14:51:23 -050070 - Regex: '^<.*\.hpp>'
Patrick Venturea680d1e2018-10-14 13:34:26 -070071 Priority: 4
Brad Bishopa83db302020-12-06 14:51:23 -050072 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Brad Bishop615b2a82018-03-29 10:32:41 -040076IndentCaseLabels: 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
Brad Bishop615b2a82018-03-29 10:32:41 -040093ReflowComments: true
Patrick Venturea680d1e2018-10-14 13:34:26 -070094SortIncludes: true
95SortUsingDeclarations: true
Brad Bishop615b2a82018-03-29 10:32:41 -040096SpaceAfterCStyleCast: false
Brad Bishopa83db302020-12-06 14:51:23 -050097SpaceAfterTemplateKeyword: true
Brad Bishop615b2a82018-03-29 10:32:41 -040098SpaceBeforeAssignmentOperators: true
Brad Bishopa83db302020-12-06 14:51:23 -050099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400102SpaceBeforeParens: ControlStatements
Brad Bishopa83db302020-12-06 14:51:23 -0500103SpaceBeforeRangeBasedForLoopColon: true
Brad Bishop615b2a82018-03-29 10:32:41 -0400104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
Brad Bishopa83db302020-12-06 14:51:23 -0500111Standard: Latest
Brad Bishop615b2a82018-03-29 10:32:41 -0400112TabWidth: 4
113UseTab: Never
114...
115