2020-07-18 13:23:12 +00:00
|
|
|
# ClangFormatConfigureSource: 'clang-format-file:///home/nathan/Projects/PokemonLibraries/PkmnLib/.clang-format'
|
2019-12-29 14:29:52 +00:00
|
|
|
---
|
|
|
|
Language: Cpp
|
|
|
|
AccessModifierOffset: -4
|
|
|
|
AlignAfterOpenBracket: Align
|
2020-07-18 13:23:12 +00:00
|
|
|
AlignConsecutiveMacros: false
|
2019-12-29 14:29:52 +00:00
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlines: Right
|
|
|
|
AlignOperands: true
|
|
|
|
AlignTrailingComments: true
|
2020-07-18 13:23:12 +00:00
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
|
AllowAllConstructorInitializersOnNextLine: true
|
2019-12-29 14:29:52 +00:00
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
|
|
AllowShortFunctionsOnASingleLine: All
|
2020-07-18 13:23:12 +00:00
|
|
|
AllowShortLambdasOnASingleLine: All
|
2019-12-29 14:29:52 +00:00
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: MultiLine
|
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
|
|
|
BraceWrapping:
|
2020-07-18 13:23:12 +00:00
|
|
|
AfterCaseLabel: false
|
2019-12-29 14:29:52 +00:00
|
|
|
AfterClass: false
|
2020-07-18 13:23:12 +00:00
|
|
|
AfterControlStatement: Never
|
2019-12-29 14:29:52 +00:00
|
|
|
AfterEnum: false
|
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
AfterExternBlock: false
|
|
|
|
BeforeCatch: false
|
|
|
|
BeforeElse: false
|
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Attach
|
|
|
|
BreakBeforeInheritanceComma: false
|
|
|
|
BreakInheritanceList: BeforeColon
|
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializersBeforeComma: false
|
|
|
|
BreakConstructorInitializers: BeforeColon
|
|
|
|
BreakAfterJavaFieldAnnotations: false
|
|
|
|
BreakStringLiterals: true
|
|
|
|
ColumnLimit: 120
|
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
Cpp11BracedListStyle: true
|
2020-07-18 13:23:12 +00:00
|
|
|
DeriveLineEnding: true
|
2019-12-29 14:29:52 +00:00
|
|
|
DerivePointerAlignment: false
|
|
|
|
DisableFormat: false
|
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
FixNamespaceComments: false
|
|
|
|
ForEachMacros:
|
|
|
|
- foreach
|
|
|
|
- Q_FOREACH
|
|
|
|
- BOOST_FOREACH
|
|
|
|
IncludeBlocks: Merge
|
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
|
Priority: 2
|
2020-07-18 13:23:12 +00:00
|
|
|
SortPriority: 0
|
2019-12-29 14:29:52 +00:00
|
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
|
Priority: 1
|
2020-07-18 13:23:12 +00:00
|
|
|
SortPriority: 0
|
2019-12-29 14:29:52 +00:00
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 3
|
2020-07-18 13:23:12 +00:00
|
|
|
SortPriority: 0
|
2019-12-29 14:29:52 +00:00
|
|
|
IncludeIsMainRegex: '(Test)?$'
|
2020-07-18 13:23:12 +00:00
|
|
|
IncludeIsMainSourceRegex: ''
|
2019-12-29 14:29:52 +00:00
|
|
|
IndentCaseLabels: true
|
2020-07-18 13:23:12 +00:00
|
|
|
IndentGotoLabels: true
|
2019-12-29 14:29:52 +00:00
|
|
|
IndentPPDirectives: None
|
|
|
|
IndentWidth: 4
|
|
|
|
IndentWrappedFunctionNames: false
|
|
|
|
JavaScriptQuotes: Leave
|
|
|
|
JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
|
NamespaceIndentation: All
|
|
|
|
ObjCBinPackProtocolList: Auto
|
|
|
|
ObjCBlockIndentWidth: 2
|
|
|
|
ObjCSpaceAfterProperty: false
|
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
|
PenaltyBreakAssignment: 2
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
|
PointerAlignment: Left
|
|
|
|
ReflowComments: true
|
|
|
|
SortIncludes: true
|
|
|
|
SortUsingDeclarations: true
|
|
|
|
SpaceAfterCStyleCast: false
|
2020-07-18 13:23:12 +00:00
|
|
|
SpaceAfterLogicalNot: false
|
2019-12-29 14:29:52 +00:00
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeCpp11BracedList: false
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
2020-07-18 13:23:12 +00:00
|
|
|
SpaceInEmptyBlock: false
|
2019-12-29 14:29:52 +00:00
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
SpacesInAngles: false
|
2020-07-18 13:23:12 +00:00
|
|
|
SpacesInConditionalStatement: false
|
2019-12-29 14:29:52 +00:00
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
2020-07-18 13:23:12 +00:00
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
|
Standard: c++20
|
2019-12-29 14:29:52 +00:00
|
|
|
StatementMacros:
|
|
|
|
- Q_UNUSED
|
|
|
|
- QT_REQUIRE_VERSION
|
2020-08-10 16:03:01 +00:00
|
|
|
- Try
|
2019-12-29 14:29:52 +00:00
|
|
|
TabWidth: 8
|
2020-07-18 13:23:12 +00:00
|
|
|
UseCRLF: false
|
2019-12-29 14:29:52 +00:00
|
|
|
UseTab: Never
|
|
|
|
...
|