-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set rather low clang-tidy warnings and moved the file to the root dir (…
- Loading branch information
1 parent
232afd1
commit 274b79d
Showing
5 changed files
with
62 additions
and
28 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
# This clang-tidy settings have been taken from here: | ||
# https://github.com/googleapis/google-cloud-cpp/blob/main/.clang-tidy | ||
# | ||
# The first block are the exact google settings. | ||
# The second block are warnings that I assumed to be irrelevant | ||
# The third block are warnings that I would actually like to take care of for future projects | ||
# | ||
|
||
Checks: "-*, | ||
clang-* | ||
" | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '' | ||
FormatStyle: none |
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,45 @@ | ||
--- | ||
# This clang-tidy settings have been taken from here: | ||
# https://github.com/googleapis/google-cloud-cpp/blob/main/.clang-tidy | ||
# | ||
# The first block are the exact google settings. | ||
# The second block are warnings that I assumed to be irrelevant | ||
# The third block are warnings that I would actually like to take care of for future projects | ||
# | ||
|
||
Checks: "-*, | ||
bugprone-*, | ||
google-*, | ||
misc-*, | ||
modernize-*, | ||
performance-*, | ||
portability-*, | ||
readability-*, | ||
-google-readability-braces-around-statements, | ||
-google-readability-namespace-comments, | ||
-google-runtime-references, | ||
-misc-non-private-member-variables-in-classes, | ||
-modernize-return-braced-init-list, | ||
-modernize-use-trailing-return-type, | ||
-modernize-avoid-c-arrays, | ||
-performance-move-const-arg, | ||
-readability-braces-around-statements, | ||
-readability-identifier-length, | ||
-readability-magic-numbers, | ||
-readability-named-parameter, | ||
-readability-redundant-declaration, | ||
-readability-function-cognitive-complexity, | ||
-bugprone-narrowing-conversions, | ||
-bugprone-easily-swappable-parameters, | ||
-bugprone-implicit-widening-of-multiplication-result, | ||
|
||
-readability-else-after-return, | ||
-google-readability-todo | ||
|
||
-modernize-use-auto, | ||
-google-runtime-int, | ||
-modernize-pass-by-value, | ||
" | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '' | ||
FormatStyle: none |
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 |
---|---|---|
|
@@ -46,5 +46,4 @@ doc/extensions/_autogen | |
cmake-build-* | ||
|
||
# clang-tidy | ||
/.clang-tidy | ||
log_*.txt | ||
log_*.txt |
This file was deleted.
Oops, something went wrong.
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