scrap-is-not-scrap/.clang-format

91 lines
2.5 KiB
Plaintext
Raw Normal View History

2016-04-19 23:58:08 +00:00
---
Language: Cpp
2016-07-12 02:56:22 +00:00
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: true
2016-04-19 23:58:08 +00:00
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
2016-07-12 02:56:22 +00:00
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
2016-04-19 23:58:08 +00:00
BreakBeforeBinaryOperators: None
2016-07-12 02:56:22 +00:00
BreakBeforeBraces: Allman
2016-04-19 23:58:08 +00:00
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
2016-07-12 02:56:22 +00:00
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
2016-04-19 23:58:08 +00:00
ConstructorInitializerIndentWidth: 4
2016-07-12 02:56:22 +00:00
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
2016-04-19 23:58:08 +00:00
ExperimentalAutoDetectBinPacking: false
2016-07-12 02:56:22 +00:00
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IndentCaseLabels: true
IndentWidth: 4
2016-04-19 23:58:08 +00:00
IndentWrappedFunctionNames: false
2016-07-12 02:56:22 +00:00
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
2016-04-19 23:58:08 +00:00
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
2016-06-27 23:54:47 +00:00
ObjCBlockIndentWidth: 2
2016-04-19 23:58:08 +00:00
ObjCSpaceAfterProperty: false
2016-07-12 02:56:22 +00:00
ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 1
2016-04-19 23:58:08 +00:00
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
2016-07-12 02:56:22 +00:00
PenaltyBreakString: 1000
2016-04-19 23:58:08 +00:00
PenaltyExcessCharacter: 1000000
2016-07-12 02:56:22 +00:00
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
2016-04-19 23:58:08 +00:00
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
2016-07-12 02:56:22 +00:00
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Auto
TabWidth: 4
UseTab: Never
...