@@ -3,23 +3,29 @@ Language: Cpp
33# BasedOnStyle: LLVM
44AccessModifierOffset : -1
55AlignAfterOpenBracket : Align
6+ AlignConsecutiveMacros : false
67AlignConsecutiveAssignments : false
78AlignConsecutiveDeclarations : false
89AlignEscapedNewlines : Right
910AlignOperands : true
1011AlignTrailingComments : true
12+ AllowAllArgumentsOnNextLine : true
13+ AllowAllConstructorInitializersOnNextLine : true
1114AllowAllParametersOfDeclarationOnNextLine : true
12- AllowShortBlocksOnASingleLine : false
15+ AllowShortBlocksOnASingleLine : Never
1316AllowShortCaseLabelsOnASingleLine : true
1417AllowShortFunctionsOnASingleLine : Inline
15- AllowShortIfStatementsOnASingleLine : false
18+ AllowShortLambdasOnASingleLine : All
19+ AllowShortIfStatementsOnASingleLine : Never
1620AllowShortLoopsOnASingleLine : false
1721AlwaysBreakAfterDefinitionReturnType : None
1822AlwaysBreakAfterReturnType : None
1923AlwaysBreakBeforeMultilineStrings : false
24+ AlwaysBreakTemplateDeclarations : true
2025BinPackArguments : true
2126BinPackParameters : true
22- BraceWrapping :
27+ BraceWrapping :
28+ AfterCaseLabel : false
2329 AfterClass : false
2430 AfterControlStatement : false
2531 AfterEnum : false
@@ -38,6 +44,7 @@ BraceWrapping:
3844BreakBeforeBinaryOperators : None
3945BreakBeforeBraces : Attach
4046BreakBeforeInheritanceComma : false
47+ BreakInheritanceList : BeforeColon
4148BreakBeforeTernaryOperators : true
4249BreakConstructorInitializersBeforeComma : false
4350BreakConstructorInitializers : BeforeColon
@@ -50,24 +57,30 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: false
5057ConstructorInitializerIndentWidth : 2
5158ContinuationIndentWidth : 2
5259Cpp11BracedListStyle : true
60+ DeriveLineEnding : true
5361DerivePointerAlignment : false
5462DisableFormat : false
5563ExperimentalAutoDetectBinPacking : false
5664FixNamespaceComments : true
57- ForEachMacros :
65+ ForEachMacros :
5866 - foreach
5967 - Q_FOREACH
6068 - BOOST_FOREACH
6169IncludeBlocks : Preserve
62- IncludeCategories :
70+ IncludeCategories :
6371 - Regex : ' ^"(llvm|llvm-c|clang|clang-c)/'
6472 Priority : 2
73+ SortPriority : 0
6574 - Regex : ' ^(<|"(gtest|gmock|isl|json)/)'
6675 Priority : 3
76+ SortPriority : 0
6777 - Regex : ' .*'
6878 Priority : 1
79+ SortPriority : 0
6980IncludeIsMainRegex : ' (Test)?$'
81+ IncludeIsMainSourceRegex : ' '
7082IndentCaseLabels : true
83+ IndentGotoLabels : true
7184IndentPPDirectives : None
7285IndentWidth : 2
7386IndentWrappedFunctionNames : false
@@ -78,6 +91,7 @@ MacroBlockBegin: ''
7891MacroBlockEnd : ' '
7992MaxEmptyLinesToKeep : 1
8093NamespaceIndentation : None
94+ ObjCBinPackProtocolList : Auto
8195ObjCBlockIndentWidth : 2
8296ObjCSpaceAfterProperty : false
8397ObjCSpaceBeforeProtocolList : true
@@ -86,28 +100,37 @@ PenaltyBreakBeforeFirstCallParameter: 19
86100PenaltyBreakComment : 300
87101PenaltyBreakFirstLessLess : 120
88102PenaltyBreakString : 1000
103+ PenaltyBreakTemplateDeclaration : 10
89104PenaltyExcessCharacter : 1000000
90- AlwaysBreakTemplateDeclarations : true
91105PenaltyReturnTypeOnItsOwnLine : 60
92106PointerAlignment : Right
93- RawStringFormats :
94- - Language : TextProto
95- - BasedOnStyle : google
96107ReflowComments : false
97108SortIncludes : true
98109SortUsingDeclarations : true
99110SpaceAfterCStyleCast : false
111+ SpaceAfterLogicalNot : false
100112SpaceAfterTemplateKeyword : true
101113SpaceBeforeAssignmentOperators : true
114+ SpaceBeforeCpp11BracedList : true
115+ SpaceBeforeCtorInitializerColon : true
116+ SpaceBeforeInheritanceColon : true
102117SpaceBeforeParens : ControlStatements
118+ SpaceBeforeRangeBasedForLoopColon : true
119+ SpaceInEmptyBlock : false
103120SpaceInEmptyParentheses : false
104121SpacesBeforeTrailingComments : 1
105122SpacesInAngles : false
123+ SpacesInConditionalStatement : false
106124SpacesInContainerLiterals : true
107125SpacesInCStyleCastParentheses : false
108126SpacesInParentheses : false
109127SpacesInSquareBrackets : false
110- Standard : Cpp11
128+ SpaceBeforeSquareBrackets : false
129+ Standard : c++14
130+ StatementMacros :
131+ - Q_UNUSED
132+ - QT_REQUIRE_VERSION
111133TabWidth : 8
134+ UseCRLF : false
112135UseTab : Never
113136...
0 commit comments