Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
behavior_loader
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
biotracker
behavior_loader
Commits
89f1c313
Commit
89f1c313
authored
5 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
update format config
parent
e1202c96
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.clang-format
+94
-111
94 additions, 111 deletions
.clang-format
with
94 additions
and
111 deletions
.clang-format
+
94
−
111
View file @
89f1c313
---
---
Language: Cpp
Language: Cpp
Standard: Cpp11
UseTab: ForIndentation
TabWidth: 3
TabWidth: 3
IndentWidth: 3
IndentWidth: 3
AccessModifierOffset: -3
AccessModifierOffset: -3
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 3
ContinuationIndentWidth: 3
ColumnLimit: 79
ColumnLimit: 79
ConstructorInitializerIndentWidth: 0
BinPackArguments: false
BinPackArguments: false
BinPackParameters: false
BinPackParameters: false
AlignAfterOpenBracket: Align
AlignAfterOpenBracket: Align
...
@@ -14,26 +16,18 @@ AlignConsecutiveDeclarations: true
...
@@ -14,26 +16,18 @@ AlignConsecutiveDeclarations: true
AlignOperands: true
AlignOperands: true
AlignEscapedNewlines: Right
AlignEscapedNewlines: Right
AlignTrailingComments: true
AlignTrailingComments: true
PenaltyBreakAssignment: 100
AllowAllArgumentsOnNextLine: false
PenaltyBreakBeforeFirstCallParameter: 19
AllowAllConstructorInitializersOnNextLine: false
PenaltyBreakComment: 300
ConstructorInitializerAllOnOneLineOrOnePerLine: false
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 1000
AllowAllArgumentsOnNextLine: false # clang-format >= 9
AllowAllConstructorInitializersOnNextLine: false # clang-format >= 9
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine:
All
AllowShortFunctionsOnASingleLine:
None
AllowShortIfStatementsOnASingleLine:
false
AllowShortIfStatementsOnASingleLine:
Never
AllowShortLoopsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings:
fals
e
AlwaysBreakBeforeMultilineStrings:
tru
e
AlwaysBreakTemplateDeclarations:
true
AlwaysBreakTemplateDeclarations:
Yes
BreakBeforeBraces: Custom
BreakBeforeBraces: Custom
BraceWrapping:
BraceWrapping:
AfterClass: true
AfterClass: true
...
@@ -58,41 +52,18 @@ BreakBeforeTernaryOperators: true
...
@@ -58,41 +52,18 @@ BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakConstructorInitializers: BeforeComma
BreakAfterJavaFieldAnnotations: false
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
BreakStringLiterals: true
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
Cpp11BracedListStyle: true
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DerivePointerAlignment: false
DisableFormat: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: false
FixNamespaceComments: false
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentCaseLabels: false
IndentPPDirectives: None
IndentPPDirectives: BeforeHash
IndentWrappedFunctionNames: false
IndentWrappedFunctionNames: true
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
NamespaceIndentation: All
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PointerAlignment: Left
PointerAlignment: Left
ReflowComments: true
ReflowComments: true
SortIncludes: false
SortIncludes: false
...
@@ -112,10 +83,22 @@ SpacesInContainerLiterals: false
...
@@ -112,10 +83,22 @@ SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInSquareBrackets: false
Standard: Cpp11
PenaltyBreakAssignment: 100
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 1000
CommentPragmas: ''
MacroBlockBegin: ''
MacroBlockEnd: ''
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
StatementMacros:
StatementMacros:
- Q_UNUSED
- Q_UNUSED
- QT_REQUIRE_VERSION
- QT_REQUIRE_VERSION
UseTab: ForIndentation
...
...
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