Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
C++ project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
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
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON Templates
C++ project
Commits
12700413
Commit
12700413
authored
2 years ago
by
Hannes Feldt
Browse files
Options
Downloads
Patches
Plain Diff
Wrong formatting settings clang-tidy in C++ template project
parent
5d672b71
No related branches found
No related tags found
1 merge request
!5
Wrong formatting settings clang-tidy in C++ template project
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.clang-tidy
+10
-7
10 additions, 7 deletions
.clang-tidy
.editorconfig
+19
-0
19 additions, 0 deletions
.editorconfig
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
with
32 additions
and
7 deletions
.clang-tidy
+
10
−
7
View file @
12700413
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming
,readability-braces-around-statements
'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
# Within ASTRON no specific casing is used. We suggest to use
# these settings, but feel free to adjust following casings
# for existing projects or personal/team preferences.
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: CamelCase
- key: readability-identifier-naming.MemberCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
value: lower_case
- key: readability-identifier-naming.VariableCase
value:
CamelC
ase
value:
lower_c
ase
This diff is collapsed.
Click to expand it.
.editorconfig
0 → 100644
+
19
−
0
View file @
12700413
# top-most EditorConfig file
root
=
true
# Unix-style newlines with a newline ending every file
[*]
charset
=
utf-8
end_of_line
=
lf
indent_style
=
space
insert_final_newline
=
true
trim_trailing_whitespace
=
true
indent_size
=
4
# Tab indentation (no size specified)
[Makefile]
indent_style
=
tab
[{CMakeLists.txt,*.cmake,*.rst}]
indent_size
=
2
indent_style
=
space
This diff is collapsed.
Click to expand it.
.gitignore
+
3
−
0
View file @
12700413
build/
.vscode/
cmake-build-debug/
.idea/
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