Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
090fe3ef
Commit
090fe3ef
authored
Oct 07, 2020
by
TheNumbat
Browse files
downgrade clang-format
parent
d38fca46
Changes
1
Show whitespace changes
Inline
Side-by-side
.clang-format
View file @
090fe3ef
...
@@ -5,15 +5,13 @@ AccessModifierOffset: -4
...
@@ -5,15 +5,13 @@ AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveAssignments: false
AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignEscapedNewlines: Right
AlignOperands:
Align
AlignOperands:
true
AlignTrailingComments: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortFunctionsOnASingleLine: All
...
@@ -36,11 +34,8 @@ BraceWrapping:
...
@@ -36,11 +34,8 @@ BraceWrapping:
AfterObjCDeclaration: false
AfterObjCDeclaration: false
AfterStruct: false
AfterStruct: false
AfterUnion: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeCatch: false
BeforeElse: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyRecord: true
...
@@ -84,13 +79,10 @@ IncludeCategories:
...
@@ -84,13 +79,10 @@ IncludeCategories:
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentGotoLabels: true
IndentPPDirectives: None
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentWidth: 4
IndentWidth: 4
IndentWrappedFunctionNames: false
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
KeepEmptyLinesAtTheStartOfBlocks: true
...
@@ -100,7 +92,6 @@ MaxEmptyLinesToKeep: 1
...
@@ -100,7 +92,6 @@ MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakAssignment: 2
...
@@ -134,7 +125,6 @@ SpacesInCStyleCastParentheses: false
...
@@ -134,7 +125,6 @@ SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
Standard: Latest
StatementMacros:
StatementMacros:
- Q_UNUSED
- Q_UNUSED
...
@@ -142,9 +132,4 @@ StatementMacros:
...
@@ -142,9 +132,4 @@ StatementMacros:
TabWidth: 8
TabWidth: 8
UseCRLF: false
UseCRLF: false
UseTab: Never
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment