-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang tidy: moved @YanzhaoW's .clang-tidy to neuland, created a globa…
…l clang-tidy with coreguidelines-pro-type-cstyle-cast only, fixed that in the existing codebase (except for neuland and califa), again. +clang-format-15 changes +Fixed clang-tidy warnings.
- Loading branch information
1 parent
29ff3c6
commit 77deacb
Showing
49 changed files
with
285 additions
and
558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,11 @@ | ||
# vi: ft=yaml | ||
Checks: > | ||
-*, | ||
bugprone-*, | ||
cert-dcl21-cpp, | ||
cert-dcl50-cpp, | ||
cert-env33-c, | ||
cert-err34-c, | ||
cert-err52-cpp, | ||
cert-err60-cpp, | ||
cert-flp30-c, | ||
cert-msc50-cpp, | ||
cert-msc51-cpp, | ||
clang-analyzer-*, | ||
cppcoreguidelines-*, | ||
-cppcoreguidelines-pro-type-reinterpret-cast, | ||
google-build-using-namespace, | ||
google-explicit-constructor, | ||
google-global-names-in-headers, | ||
google-readability-casting, | ||
google-runtime-int, | ||
google-runtime-operator, | ||
hicpp-*, | ||
-hicpp-vararg, | ||
misc-*, | ||
modernize-*, | ||
performance-*, | ||
readability-*, | ||
-hicpp-new-delete-operators, | ||
-modernize-use-trailing-return-type | ||
-*, | ||
cppcoreguidelines-pro-type-cstyle-cast, | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '' | ||
AnalyzeTemporaryDtors: false | ||
FormatStyle: none | ||
User: land | ||
CheckOptions: | ||
- key: bugprone-argument-comment.StrictMode | ||
value: 1 | ||
- key: bugprone-easily-swappable-parameters.MinimumLength | ||
value: 4 | ||
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic | ||
value: 1 | ||
- key: readability-identifier-length.IgnoredVariableNames | ||
value: '^it$' | ||
- key: readability-magic-numbers.IgnoreAllFloatingPointValues | ||
value: 'true' | ||
- key: cppcoreguidelines-avoid-magic-numbers.IgnoreAllFloatingPointValues | ||
value: 'true' | ||
- key: readability-function-cognitive-complexity.Threshold | ||
value: 40 | ||
- key: readability-function-cognitive-complexity.IgnoreMacros | ||
value: 'true' | ||
... | ||
|
||
FormatStyle: 'file' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# vi: ft=yaml | ||
Checks: > | ||
-*, | ||
bugprone-*, | ||
cert-dcl21-cpp, | ||
cert-dcl50-cpp, | ||
cert-env33-c, | ||
cert-err34-c, | ||
cert-err52-cpp, | ||
cert-err60-cpp, | ||
cert-flp30-c, | ||
cert-msc50-cpp, | ||
cert-msc51-cpp, | ||
clang-analyzer-*, | ||
cppcoreguidelines-*, | ||
-cppcoreguidelines-pro-type-reinterpret-cast, | ||
google-build-using-namespace, | ||
google-explicit-constructor, | ||
google-global-names-in-headers, | ||
google-readability-casting, | ||
google-runtime-int, | ||
google-runtime-operator, | ||
hicpp-*, | ||
-hicpp-vararg, | ||
misc-*, | ||
modernize-*, | ||
performance-*, | ||
readability-*, | ||
-hicpp-new-delete-operators, | ||
-modernize-use-trailing-return-type | ||
CheckOptions: | ||
- key: bugprone-argument-comment.StrictMode | ||
value: 1 | ||
- key: bugprone-easily-swappable-parameters.MinimumLength | ||
value: 4 | ||
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic | ||
value: 1 | ||
- key: readability-identifier-length.IgnoredVariableNames | ||
value: '^it$' | ||
- key: readability-magic-numbers.IgnoreAllFloatingPointValues | ||
value: 'true' | ||
- key: cppcoreguidelines-avoid-magic-numbers.IgnoreAllFloatingPointValues | ||
value: 'true' | ||
- key: readability-function-cognitive-complexity.Threshold | ||
value: 40 | ||
- key: readability-function-cognitive-complexity.IgnoreMacros | ||
value: 'true' | ||
|
||
FormatStyle: 'file' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.