123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- # clang-format 14
- Language: Cpp
- Standard: c++20
- AccessModifierOffset: -2 #?
- AlignAfterOpenBracket: AlwaysBreak
- AlignArrayOfStructures: Left
- AlignConsecutiveAssignments: false
- AlignConsecutiveBitFields: false
- AlignConsecutiveDeclarations: false
- AlignConsecutiveMacros: true
- AlignEscapedNewlines: DontAlign
- AlignOperands: AlignAfterOperator
- AlignTrailingComments: true
- AllowAllArgumentsOnNextLine: true
- AllowAllConstructorInitializersOnNextLine: true
- AllowAllParametersOfDeclarationOnNextLine: true
- AllowShortBlocksOnASingleLine: Never
- AllowShortCaseLabelsOnASingleLine: false
- AllowShortEnumsOnASingleLine: false
- AllowShortFunctionsOnASingleLine: Empty
- AllowShortIfStatementsOnASingleLine: false
- AllowShortLambdasOnASingleLine: Inline
- AllowShortLoopsOnASingleLine: false
- AlwaysBreakAfterReturnType: None
- AlwaysBreakBeforeMultilineStrings: true
- AlwaysBreakTemplateDeclarations: Yes
- AttributeMacros: []
- BinPackArguments: true
- BinPackParameters: false
- BitFieldColonSpacing: Both
- BraceWrapping:
- AfterCaseLabel: true
- AfterClass: false
- AfterControlStatement: MultiLine
- AfterEnum: false
- AfterFunction: false
- AfterNamespace: false
- #AfterObjCDeclaration
- AfterStruct: false
- AfterUnion: false
- AfterExternBlock: false
- BeforeCatch: false
- BeforeElse: false
- BeforeLambdaBody: true
- BeforeWhile: false
- IndentBraces: false
- SplitEmptyFunction: true
- SplitEmptyRecord: false
- SplitEmptyNamespace: true
- #BreakAfterJavaFieldAnnotations
- BreakBeforeBinaryOperators: NonAssignment
- BreakBeforeBraces: Custom
- BreakBeforeConceptDeclarations: true
- BreakBeforeTernaryOperators: true
- BreakConstructorInitializers: BeforeComma
- BreakInheritanceList: BeforeComma
- BreakStringLiterals: false
- ColumnLimit: 0
- CommentPragmas: '' #?
- CompactNamespaces: false
- ConstructorInitializerAllOnOneLineOrOnePerLine: true
- ConstructorInitializerIndentWidth: 2 #?
- ContinuationIndentWidth: 2 #?
- Cpp11BracedListStyle: true
- DeriveLineEnding: true
- DerivePointerAlignment: false
- EmptyLineAfterAccessModifier: Leave
- EmptyLineBeforeAccessModifier: Leave
- FixNamespaceComments: true
- ForEachMacros: []
- IfMacros: ['MPT_MAYBE_CONSTANT_IF']
- IncludeBlocks: Preserve
- IncludeCategories: [] #?
- IncludeIsMainRegex: '' #?
- IncludeIsMainSourceRegex: '' #?
- IndentAccessModifiers: false
- IndentCaseBlocks: true
- IndentCaseLabels: true
- IndentExternBlock: NoIndent
- IndentGotoLabels: false
- IndentPPDirectives: None
- #IndentRequiresClause: true
- #BeforeHash
- IndentWidth: 2
- IndentWrappedFunctionNames: true
- InsertTrailingCommas: None
- #JavaImportGroups
- #JavaScriptQuotes
- #JavaScriptWrapImports
- KeepEmptyLinesAtTheStartOfBlocks: true
- LambdaBodyIndentation: OuterScope
- MacroBlockBegin: '' #?
- MacroBlockEnd: '' #?
- MaxEmptyLinesToKeep: 3
- NamespaceIndentation: None
- NamespaceMacros: [] #?
- #ObjCBinPackProtocolList
- #ObjCBlockIndentWidth
- #ObjCBreakBeforeNestedBlockParam
- #ObjCSpaceAfterProperty
- #ObjCSpaceBeforeProtocolList
- PackConstructorInitializers: Never
- #PenaltyBreakAssignment
- #PenaltyBreakBeforeFirstCallParameter
- #PenaltyBreakComment
- #PenaltyBreakFirstLessLess
- #PenaltyBreakOpenParenthesis
- #PenaltyBreakString
- #PenaltyBreakTemplateDeclaration
- #PenaltyExcessCharacter
- #PenaltyIndentedWhitespace
- #PenaltyReturnTypeOnItsOwnLine
- PointerAlignment: Middle
- PPIndentWidth: -1
- #RawStringFormats
- QualifierAlignment: Leave
- #QualifierOrder: ['static', 'inline', 'constexpr', 'volatile', 'const', 'restrict', 'type']
- ReferenceAlignment: Pointer
- ReflowComments: false
- RemoveBracesLLVM: false
- SeparateDefinitionBlocks: Leave
- ShortNamespaceLines: 1
- SortIncludes: false
- #SortJavaStaticImport
- SortUsingDeclarations: true
- SpaceAfterCStyleCast: false
- SpaceAfterLogicalNot: false
- SpaceAfterTemplateKeyword: true
- SpaceAroundPointerQualifiers: Default
- SpaceBeforeAssignmentOperators: true
- SpaceBeforeCaseColon: false
- SpaceBeforeCpp11BracedList: false
- SpaceBeforeCtorInitializerColon: true
- SpaceBeforeInheritanceColon: true
- SpaceBeforeParens: ControlStatements
- SpaceBeforeParensOptions:
- AfterControlStatements: true
- AfterForeachMacros: true
- AfterFunctionDeclarationName: false
- AfterFunctionDefinitionName: false
- AfterIfMacros: true
- AfterOverloadedOperator: false
- #AfterRequiresInClause: false
- #AfterRequiresInExpression: false
- BeforeNonEmptyParentheses: false
- SpaceBeforeRangeBasedForLoopColon: true
- SpaceBeforeSquareBrackets: false
- SpaceInEmptyBlock: true
- SpaceInEmptyParentheses: false
- SpacesBeforeTrailingComments: 2
- SpacesInAngles: false
- SpacesInCStyleCastParentheses: false
- SpacesInConditionalStatement: true
- SpacesInContainerLiterals: true
- SpacesInLineCommentPrefix:
- Minimum: 1
- Maximum: -1
- SpacesInParentheses: true
- SpacesInSquareBrackets: false
- StatementAttributeLikeMacros: []
- StatementMacros: [ 'MPT_WARNING', 'MPT_TEST_GROUP_INLINE_IDENTIFIER', 'MPT_TEST_GROUP_INLINE', 'MPT_TEST_GROUP_STATIC' ] #?
- TabWidth: 2
- TypenameMacros: [] #?
- UseCRLF: false
- UseTab: ForContinuationAndIndentation
- WhitespaceSensitiveMacros:
- - MPT_PP_STRINGIFY
|