|
|
@@ -1,179 +1,66 @@
|
|
|
----
|
|
|
-Language: Cpp
|
|
|
-# BasedOnStyle: Microsoft
|
|
|
+# Generated from CLion C/C++ Code Style settings
|
|
|
+BasedOnStyle: LLVM
|
|
|
AccessModifierOffset: -4
|
|
|
AlignAfterOpenBracket: Align
|
|
|
-AlignArrayOfStructures: None
|
|
|
-AlignConsecutiveMacros: None
|
|
|
AlignConsecutiveAssignments: None
|
|
|
-AlignConsecutiveBitFields: None
|
|
|
-AlignConsecutiveDeclarations: None
|
|
|
-AlignEscapedNewlines: Right
|
|
|
-AlignOperands: Align
|
|
|
-AlignTrailingComments: true
|
|
|
-AllowAllArgumentsOnNextLine: true
|
|
|
-AllowAllConstructorInitializersOnNextLine: true
|
|
|
-AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
-AllowShortEnumsOnASingleLine: false
|
|
|
-AllowShortBlocksOnASingleLine: Empty
|
|
|
+AlignOperands: Align
|
|
|
+AllowAllArgumentsOnNextLine: false
|
|
|
+AllowAllConstructorInitializersOnNextLine: false
|
|
|
+AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
+AllowShortBlocksOnASingleLine: Always
|
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
|
-AllowShortFunctionsOnASingleLine: Inline
|
|
|
+AllowShortFunctionsOnASingleLine: All
|
|
|
+AllowShortIfStatementsOnASingleLine: Never
|
|
|
AllowShortLambdasOnASingleLine: All
|
|
|
-AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
|
-AllowShortLoopsOnASingleLine: true
|
|
|
-AlwaysBreakAfterDefinitionReturnType: None
|
|
|
+AllowShortLoopsOnASingleLine: false
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
-AlwaysBreakBeforeMultilineStrings: false
|
|
|
-AlwaysBreakTemplateDeclarations: MultiLine
|
|
|
-AttributeMacros:
|
|
|
- - __capability
|
|
|
-BinPackArguments: false
|
|
|
-BinPackParameters: false
|
|
|
+AlwaysBreakTemplateDeclarations: Yes
|
|
|
+BreakBeforeBraces: Custom
|
|
|
BraceWrapping:
|
|
|
- AfterCaseLabel: false
|
|
|
- AfterClass: true
|
|
|
+ AfterCaseLabel: false
|
|
|
+ AfterClass: true
|
|
|
AfterControlStatement: Always
|
|
|
- AfterEnum: true
|
|
|
- AfterFunction: true
|
|
|
- AfterNamespace: true
|
|
|
- AfterObjCDeclaration: true
|
|
|
- AfterStruct: true
|
|
|
- AfterUnion: false
|
|
|
- AfterExternBlock: true
|
|
|
- BeforeCatch: true
|
|
|
- BeforeElse: true
|
|
|
- BeforeLambdaBody: false
|
|
|
- BeforeWhile: false
|
|
|
- IndentBraces: false
|
|
|
- SplitEmptyFunction: true
|
|
|
+ AfterEnum: true
|
|
|
+ AfterFunction: true
|
|
|
+ AfterNamespace: true
|
|
|
+ AfterUnion: true
|
|
|
+ BeforeCatch: true
|
|
|
+ BeforeElse: true
|
|
|
+ IndentBraces: false
|
|
|
+ SplitEmptyFunction: false
|
|
|
SplitEmptyRecord: true
|
|
|
- SplitEmptyNamespace: true
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
-BreakBeforeConceptDeclarations: true
|
|
|
-BreakBeforeBraces: Allman
|
|
|
-BreakBeforeInheritanceComma: false
|
|
|
-BreakInheritanceList: BeforeColon
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
-BreakConstructorInitializersBeforeComma: false
|
|
|
-BreakConstructorInitializers: AfterColon
|
|
|
-PackConstructorInitializers: Never
|
|
|
-BreakAfterJavaFieldAnnotations: false
|
|
|
-BreakStringLiterals: true
|
|
|
-ColumnLimit: 120
|
|
|
-CommentPragmas: '^ IWYU pragma:'
|
|
|
+BreakConstructorInitializers: BeforeColon
|
|
|
+BreakInheritanceList: BeforeColon
|
|
|
+ColumnLimit: 0
|
|
|
CompactNamespaces: false
|
|
|
-ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
-ConstructorInitializerIndentWidth: 4
|
|
|
-ContinuationIndentWidth: 4
|
|
|
-Cpp11BracedListStyle: true
|
|
|
-DeriveLineEnding: true
|
|
|
-DerivePointerAlignment: false
|
|
|
-DisableFormat: false
|
|
|
-EmptyLineAfterAccessModifier: Never
|
|
|
-EmptyLineBeforeAccessModifier: LogicalBlock
|
|
|
-ExperimentalAutoDetectBinPacking: false
|
|
|
-FixNamespaceComments: true
|
|
|
-ForEachMacros:
|
|
|
- - foreach
|
|
|
- - Q_FOREACH
|
|
|
- - BOOST_FOREACH
|
|
|
-IfMacros:
|
|
|
- - KJ_IF_MAYBE
|
|
|
-IncludeBlocks: Preserve
|
|
|
-IncludeCategories:
|
|
|
- - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
- Priority: 2
|
|
|
- SortPriority: 0
|
|
|
- CaseSensitive: false
|
|
|
- - Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
- Priority: 3
|
|
|
- SortPriority: 0
|
|
|
- CaseSensitive: false
|
|
|
- - Regex: '.*'
|
|
|
- Priority: 1
|
|
|
- SortPriority: 0
|
|
|
- CaseSensitive: false
|
|
|
-IncludeIsMainRegex: '(Test)?$'
|
|
|
-IncludeIsMainSourceRegex: ''
|
|
|
-IndentAccessModifiers: false
|
|
|
+ContinuationIndentWidth: 8
|
|
|
IndentCaseLabels: true
|
|
|
-IndentCaseBlocks: true
|
|
|
-IndentGotoLabels: true
|
|
|
IndentPPDirectives: None
|
|
|
-IndentExternBlock: AfterExternBlock
|
|
|
-IndentRequires: false
|
|
|
-IndentWidth: 4
|
|
|
-IndentWrappedFunctionNames: false
|
|
|
-InsertTrailingCommas: None
|
|
|
-JavaScriptQuotes: Leave
|
|
|
-JavaScriptWrapImports: true
|
|
|
+IndentWidth: 4
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
|
-LambdaBodyIndentation: Signature
|
|
|
-MacroBlockBegin: ''
|
|
|
-MacroBlockEnd: ''
|
|
|
-MaxEmptyLinesToKeep: 1
|
|
|
+MaxEmptyLinesToKeep: 2
|
|
|
NamespaceIndentation: All
|
|
|
-ObjCBinPackProtocolList: Auto
|
|
|
-ObjCBlockIndentWidth: 2
|
|
|
-ObjCBreakBeforeNestedBlockParam: true
|
|
|
ObjCSpaceAfterProperty: false
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
-PenaltyBreakAssignment: 2
|
|
|
-PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
-PenaltyBreakComment: 300
|
|
|
-PenaltyBreakFirstLessLess: 120
|
|
|
-PenaltyBreakString: 1000
|
|
|
-PenaltyBreakTemplateDeclaration: 10
|
|
|
-PenaltyExcessCharacter: 1000000
|
|
|
-PenaltyReturnTypeOnItsOwnLine: 1000
|
|
|
-PenaltyIndentedWhitespace: 0
|
|
|
PointerAlignment: Left
|
|
|
-PPIndentWidth: -1
|
|
|
-ReferenceAlignment: Pointer
|
|
|
-ReflowComments: true
|
|
|
-ShortNamespaceLines: 1
|
|
|
-SortIncludes: CaseSensitive
|
|
|
-SortJavaStaticImport: Before
|
|
|
-SortUsingDeclarations: true
|
|
|
+ReflowComments: false
|
|
|
SpaceAfterCStyleCast: true
|
|
|
SpaceAfterLogicalNot: false
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
-SpaceBeforeCaseColon: false
|
|
|
-SpaceBeforeCpp11BracedList: false
|
|
|
+SpaceBeforeCpp11BracedList: true
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
SpaceBeforeParens: Always
|
|
|
-SpaceAroundPointerQualifiers: Default
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
-SpaceInEmptyBlock: false
|
|
|
SpaceInEmptyParentheses: false
|
|
|
-SpacesBeforeTrailingComments: 1
|
|
|
-SpacesInAngles: Never
|
|
|
-SpacesInConditionalStatement: false
|
|
|
-SpacesInContainerLiterals: true
|
|
|
+SpacesBeforeTrailingComments: 0
|
|
|
+SpacesInAngles: false
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
-SpacesInLineCommentPrefix:
|
|
|
- Minimum: 1
|
|
|
- Maximum: -1
|
|
|
+SpacesInContainerLiterals: false
|
|
|
SpacesInParentheses: false
|
|
|
SpacesInSquareBrackets: false
|
|
|
-SpaceBeforeSquareBrackets: true
|
|
|
-BitFieldColonSpacing: Both
|
|
|
-Standard: Latest
|
|
|
-StatementAttributeLikeMacros:
|
|
|
- - Q_EMIT
|
|
|
-StatementMacros:
|
|
|
- - Q_UNUSED
|
|
|
- - QT_REQUIRE_VERSION
|
|
|
-TabWidth: 4
|
|
|
-UseCRLF: false
|
|
|
-UseTab: Never
|
|
|
-WhitespaceSensitiveMacros:
|
|
|
- - STRINGIZE
|
|
|
- - PP_STRINGIZE
|
|
|
- - BOOST_PP_STRINGIZE
|
|
|
- - NS_SWIFT_NAME
|
|
|
- - CF_SWIFT_NAME
|
|
|
-...
|
|
|
-
|
|
|
+TabWidth: 4
|
|
|
+UseTab: ForContinuationAndIndentation
|