Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
99cd0a1d
Commit
99cd0a1d
authored
6 years ago
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Revise format choices
parent
bd88304b
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!13
Feature/clang format
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.clang-format
+20
-14
20 additions, 14 deletions
.clang-format
with
20 additions
and
14 deletions
.clang-format
+
20
−
14
View file @
99cd0a1d
---
BasedOnStyle:
LLVM
BasedOnStyle:
Mozilla
AccessModifierOffset: '-1'
AlignConsecutiveAssignments: 'false'
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'false'
AlignEscapedNewlines: Left
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: '
tru
e'
AlwaysBreakAfter
Definition
ReturnType: All
AlwaysBreak
AfterReturnType: All
AllowShortLoopsOnASingleLine: '
fals
e'
AlwaysBreakAfterReturnType: All
Definitions
AlwaysBreak
BeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: '
fals
e'
BinPackArguments: '
tru
e'
BinPackParameters: 'false'
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Mozilla
ColumnLimit: '100'
BreakConstructorInitializers: BeforeColon
ColumnLimit: '80'
CompactNamespaces: 'true'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
Cpp11BracedListStyle: 'true'
FixNamespaceComments: 'true'
IndentWidth: '2'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
Language: Cpp
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: None
PointerAlignment: Left
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterTemplateKeyword: 'true'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCpp11BracedList: 'false'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
SpacesBeforeTrailingComments: '3'
Standard: Auto
UseTab: Never
...
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