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
Hide 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
TabWidth: 3
Standard: Cpp11
IndentWidth: 3
UseTab: ForIndentation
AccessModifierOffset: -3
TabWidth: 3
ConstructorInitializerIndentWidth: 0
IndentWidth: 3
ContinuationIndentWidth: 3
AccessModifierOffset: -3
ColumnLimit: 79
ContinuationIndentWidth: 3
BinPackArguments: false
ColumnLimit: 79
BinPackParameters: false
ConstructorInitializerIndentWidth: 0
AlignAfterOpenBracket: Align
BinPackArguments: false
AlignConsecutiveAssignments: true
BinPackParameters: false
AlignConsecutiveDeclarations: true
AlignAfterOpenBracket: Align
AlignOperands: true
AlignConsecutiveAssignments: true
AlignEscapedNewlines: Right
AlignConsecutiveDeclarations: true
AlignTrailingComments: true
AlignOperands: true
PenaltyBreakAssignment: 100
AlignEscapedNewlines: Right
PenaltyBreakBeforeFirstCallParameter: 19
AlignTrailingComments: true
PenaltyBreakComment: 300
AllowAllArgumentsOnNextLine: false
PenaltyBreakFirstLessLess: 120
AllowAllConstructorInitializersOnNextLine: false
PenaltyBreakString: 1000
ConstructorInitializerAllOnOneLineOrOnePerLine: false
PenaltyBreakTemplateDeclaration: 10
AllowAllParametersOfDeclarationOnNextLine: false
PenaltyExcessCharacter: 1000000
AllowShortBlocksOnASingleLine: false
PenaltyReturnTypeOnItsOwnLine: 1000
AllowShortCaseLabelsOnASingleLine: false
AllowAllArgumentsOnNextLine: false # clang-format >= 9
AllowShortFunctionsOnASingleLine: None
AllowAllConstructorInitializersOnNextLine: false # clang-format >= 9
AllowShortIfStatementsOnASingleLine: Never
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: false
AlwaysBreakAfterReturnType: None
AllowShortCaseLabelsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: true
AllowShortFunctionsOnASingleLine: All
AlwaysBreakTemplateDeclarations: Yes
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Custom
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Custom
BraceWrapping:
BraceWrapping:
AfterClass: true
AfterClass: true
AfterControlStatement: false
AfterControlStatement: false
AfterEnum: false
AfterEnum: false
AfterFunction: true
AfterFunction: true
AfterNamespace: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterObjCDeclaration: false
AfterStruct: true
AfterStruct: true
AfterUnion: false
AfterUnion: false
AfterExternBlock: false
AfterExternBlock: false
BeforeCatch: false
BeforeCatch: false
BeforeElse: false
BeforeElse: false
IndentBraces: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBinaryOperators: None
BreakBeforeInheritanceComma: false
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakConstructorInitializers: BeforeComma
BreakAfterJavaFieldAnnotations: false
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
BreakStringLiterals: true
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
CompactNamespaces: false
Cpp11BracedListStyle: true
ConstructorInitializerAllOnOneLineOrOnePerLine: false
DerivePointerAlignment: false
Cpp11BracedListStyle: true
DisableFormat: false
DerivePointerAlignment: false
ExperimentalAutoDetectBinPacking: false
DisableFormat: false
FixNamespaceComments: false
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: false
FixNamespaceComments: false
IndentPPDirectives: BeforeHash
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
PointerAlignment: Left
ReflowComments: true
SortIncludes: false
SortUsingDeclarations: true
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
PenaltyBreakAssignment: 100
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 1000
CommentPragmas: ''
MacroBlockBegin: ''
MacroBlockEnd: ''
ForEachMacros:
ForEachMacros:
- foreach
- foreach
- Q_FOREACH
- Q_FOREACH
- BOOST_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
IndentPPDirectives: None
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PointerAlignment: Left
ReflowComments: true
SortIncludes: false
SortUsingDeclarations: true
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
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