Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
80649dc5
Commit
80649dc5
authored
4 years ago
by
Dave Houlton
Browse files
Options
Downloads
Patches
Plain Diff
DRTVWR-510 tweak clang-format config file for better vertical alignment preservation
parent
c4f36a57
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.clang-format
+19
-18
19 additions, 18 deletions
.clang-format
with
19 additions
and
18 deletions
.clang-format
+
19
−
18
View file @
80649dc5
---
# clang-format version 10.0.0+
Language: Cpp
# BasedOnStyle: Microsoft
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros:
fals
e
AlignConsecutiveAssignments:
fals
e
AlignConsecutiveDeclarations:
fals
e
AlignEscapedNewlines:
Righ
t
AlignConsecutiveMacros:
tru
e
AlignConsecutiveAssignments:
tru
e
AlignConsecutiveDeclarations:
tru
e
AlignEscapedNewlines:
Lef
t
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine:
tru
e
AllowAllConstructorInitializersOnNextLine:
tru
e
AllowAllArgumentsOnNextLine:
fals
e
AllowAllConstructorInitializersOnNextLine:
fals
e
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: false
...
...
@@ -22,21 +23,21 @@ AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments:
tru
e
BinPackParameters:
tru
e
BinPackArguments:
fals
e
BinPackParameters:
fals
e
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma:
fals
e
BreakConstructorInitializers:
Before
Colon
BreakConstructorInitializersBeforeComma:
tru
e
BreakConstructorInitializers:
After
Colon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 1
2
0
ColumnLimit: 1
4
0
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine:
fals
e
ConstructorInitializerAllOnOneLineOrOnePerLine:
tru
e
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
...
...
@@ -62,18 +63,18 @@ IncludeCategories:
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels:
fals
e
IndentCaseLabels:
tru
e
IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks:
tru
e
KeepEmptyLinesAtTheStartOfBlocks:
fals
e
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation:
No
ne
NamespaceIndentation:
In
ne
r
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
...
...
@@ -94,16 +95,16 @@ SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList:
fals
e
SpaceBeforeCpp11BracedList:
tru
e
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments:
1
SpacesBeforeTrailingComments:
2
SpacesInAngles: false
SpacesInContainerLiterals:
tru
e
SpacesInContainerLiterals:
fals
e
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment