Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Navigation
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Software
ArmarX
Skills
Navigation
Commits
2e3031ce
Commit
2e3031ce
authored
2 years ago
by
Fabian Reister
Browse files
Options
Downloads
Patches
Plain Diff
removing custom clang tidy/format files
parent
b786b348
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.clang-format
+0
-150
0 additions, 150 deletions
.clang-format
.clang-tidy
+0
-97
0 additions, 97 deletions
.clang-tidy
.clangd
+0
-9
0 additions, 9 deletions
.clangd
with
0 additions
and
256 deletions
.clang-format
deleted
100644 → 0
+
0
−
150
View file @
b786b348
Language: Cpp
Standard: c++20
BasedOnStyle: llvm
PointerAlignment: Left
AccessModifierOffset: -4
# BreakConstructorInitializers: BeforeComma
# BreakBeforeParameter: EndsInComma
#ExperimentalAutoDetectBinPacking: true
ExperimentalAutoDetectBinPacking: true
Cpp11BracedListStyle: true
NamespaceIndentation: All
CommentPragmas: "^ q:"
ReflowComments: false
ColumnLimit: 100
SortIncludes: true
#BreakBeforeBraces: GNU
BreakBeforeBraces: Allman
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
#BraceWrapping:
# BeforeWhile: true
# AlignConsecutiveAssignments: Consecutive
BinPackArguments: false
BinPackParameters: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllConstructorInitializersOnNextLine: true
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
BreakInheritanceList: AfterColon
# ReturnTypeBreakingStyle: All
# ReturnTypeBreakingStyle: AllDefinitions
# BreakTemplateDeclarationsStyle: Yes
# breaks return type
AlwaysBreakAfterDefinitionReturnType: All
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BreakBeforeTernaryOperators: true
#ContinuationIndentWidth: 8
IndentWidth: 4
#TabWidth: 4
UseTab: "Never"
AllowAllArgumentsOnNextLine: true
FixNamespaceComments: true
AlignAfterOpenBracket: Align
IncludeBlocks: Regroup
IncludeCategories:
- Regex: "<[[:alnum:,_].]+>"
Priority: 30
- Regex: "<[[:alnum:,_].]+>"
Priority: 30
- Regex: "<[[:alnum:].]+>"
Priority: 30
- Regex: "<[:alnum:]+>"
Priority: 30
- Regex: "^(<unordered_map>)"
Priority: 30
- Regex: "^(<type_traits>)"
Priority: 30
- Regex: "^(<range/)"
Priority: 40
- Regex: "^(<ceres/)"
Priority: 45
- Regex: "^(<boost/)"
Priority: 50
- Regex: "^(<Eigen/)"
Priority: 60
- Regex: "^(<pcl/)"
Priority: 70
- Regex: "^(<opencv2/)"
Priority: 80
- Regex: "^(<cartographer/)"
Priority: 81
- Regex: "<wykobi.hpp>"
Priority: 85
- Regex: "^(<IceUtil/)"
Priority: 90
- Regex: "^(<Ice/)"
Priority: 91
- Regex: "^(<VirtualRobot/)"
Priority: 100
- Regex: "^(<SimoxUtility/)"
Priority: 100
- Regex: '^((<|")ArmarXCore/)'
Priority: 200
- Regex: '^((<|")ArmarXGui/)'
Priority: 210
- Regex: '^((<|")RobotAPI/)'
Priority: 220
- Regex: '^((<|")VisionX/)'
Priority: 230
- Regex: '^((<|")RobotComponents/)'
Priority: 240
- Regex: '^((<|")ArmarXSimulation/)'
Priority: 250
- Regex: '^((<|")RobotSkillTemplates/)'
Priority: 260
- Regex: '^((<|")armar6_rt/)'
Priority: 270
- Regex: '^((<|")Armar6Skills/)'
Priority: 280
- Regex: '^((<|")armar6_rt/)'
Priority: 290
- Regex: '^((<|")MobileManipulation/)'
Priority: 300
- Regex: '^((<|")ROBDEKON/)'
Priority: 310
# - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
# Priority: 2
# SortPriority: 2
# CaseSensitive: true
# - Regex: '^(<|"(gtest|gmock|isl|json)/)'
# Priority: 3
# # - Regex: '^(<|"(Eigen)/)'
# # Priority: 3
# - Regex: '^<VirtualRobot/'
# Priority: 4
# - Regex: '.*'
# Priority: 1
# SortPriority: 0
This diff is collapsed.
Click to expand it.
.clang-tidy
deleted
100644 → 0
+
0
−
97
View file @
b786b348
# based on https://github.com/frankaemika/libfranka/blob/master/.clang-tidy
User: fabian.reister
Checks: '
clang-diagnostic-*,
clang-analyzer-*,
-clang-analyzer-alpha*,
google-*,
-google-explicit-constructor,
-google-runtime-references,
-google-default-arguments,
misc-*,
-misc-throw-by-value-catch-by-reference,
-misc-non-private-member-variables-in-classes,
readability-*,
-readability-redundant-string-init,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
-modernize-pass-by-value,
performance-*,
cppcoreguidelines-*,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-member-init,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-narrowing-conversions
'
HeaderFilterRegex: '^.*(source|include).*$'
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.PublicMemberCase
value: camelBack
- key: readability-identifier-naming.ProtectedMemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberSuffix
value: ''
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.ConstantPrefix
value: ''
- key: readability-identifier-naming.ConstantCase
value: CamelCase
- key: readability-identifier-naming.ConstantMemberPrefix
value: ''
- key: readability-identifier-naming.ConstantMemberCase
value: camelBack
- key: readability-identifier-naming.ConstantParameterPrefix
value: ''
- key: readability-identifier-naming.ConstantParameterCase
value: camelBack
- key: readability-identifier-naming.LocalConstantParameterPrefix
value: ''
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
- key: readability-identifier-naming.ConstexprVariablePrefix
value: ''
- key: readability-identifier-naming.ConstexprVariableCase
value: camelBack
- key: readabiltiy-identifier-naming.EnumConstantCase
value: CamelCase
- key: readabiltiy-identifier-naming.EnumConstantPrefix
value: ''
- key: readabiltiy-identifier-naming.EnumConstantSuffix
value: ''
- key: readabiltiy-identifier-naming.ClassMemberIgnoredRegexp
value: '*\_T\_*'
- key: readability-identifier-naming.ClassConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.LocalVariableIgnoredRegexp
value: '^.*_[T,R,V]_.*$'
- key: readability-identifier-naming.LocalConstantIgnoredRegexp
value: '^.*_[T,R,V]_.*$'
This diff is collapsed.
Click to expand it.
.clangd
deleted
100644 → 0
+
0
−
9
View file @
b786b348
CompileFlags: # Tweak the parse settings
Add: [-xc++, -Wall] # treat all files as C++, enable more warnings
Remove: -fconcepts # strip all other warning-related flags
Diagnostics:
ClangTidy:
Remove: cppcoreguidelines-special-member-functions
#HeaderInsertion:
# Match: <Eigen/src/Geometry/.*>
# Use: <Eigen/Geometry>
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