forked from open-telemetry/opentelemetry-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Code Health] clang-tidy cleanup, part 1 (open-telemetry#2990)
- Loading branch information
Showing
97 changed files
with
759 additions
and
661 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,69 @@ | ||
# Copyright The OpenTelemetry Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
Checks: > | ||
-*, | ||
abseil-*, | ||
-abseil-string-find-str-contains, | ||
bugprone-*, | ||
-bugprone-easily-swappable-parameters, | ||
-bugprone-implicit-widening-of-multiplication-result, | ||
-bugprone-inc-dec-in-conditions, | ||
-bugprone-narrowing-conversions, | ||
-bugprone-unchecked-optional-access, | ||
-bugprone-unhandled-exception-at-new, | ||
-bugprone-unused-local-non-trivial-variable, | ||
-bugprone-unused-return-value, | ||
google-*, | ||
-google-build-using-namespace, | ||
-google-default-arguments, | ||
-google-explicit-constructor, | ||
-google-readability-avoid-underscore-in-googletest-name, | ||
-google-readability-braces-around-statements, | ||
-google-readability-namespace-comments, | ||
-google-readability-todo, | ||
-google-runtime-references, | ||
misc-*, | ||
-misc-const-correctness, | ||
-misc-include-cleaner, | ||
-misc-non-private-member-variables-in-classes, | ||
-misc-unused-alias-decls, | ||
-misc-use-anonymous-namespace, | ||
performance-*, | ||
-performance-move-const-arg, | ||
portability-* | ||
# readability-*, | ||
# -readability-convert-member-functions-to-static, | ||
# -readability-else-after-return, | ||
# -readability-function-cognitive-complexity, | ||
# -readability-identifier-length, | ||
# -readability-implicit-bool-conversion, | ||
# -readability-isolate-declaration, | ||
# -readability-magic-numbers, | ||
# -readability-named-parameter, | ||
# -readability-redundant-*, | ||
# -readability-string-compare, | ||
# cppcoreguidelines-*, | ||
# -cppcoreguidelines-avoid-c-arrays, | ||
# -cppcoreguidelines-avoid-magic-numbers, | ||
# -cppcoreguidelines-init-variables, | ||
# -cppcoreguidelines-macro-usage, | ||
# -cppcoreguidelines-non-private-member-variables-in-classes, | ||
# -cppcoreguidelines-pro-*, | ||
# modernize-*, | ||
# -modernize-use-default-member-init, | ||
# -modernize-use-nodiscard, | ||
# -modernize-use-trailing-return-type, | ||
# -modernize-avoid-c-arrays, | ||
# -modernize-use-using | ||
|
||
# Use existing clang-format for formatting the code | ||
# FormatStyle: 'file' | ||
|
||
# TODO: include checks: readability, cppcoreguidelines, modernize , google-readability-namespace-comments, google-readability-avoid-underscore-in-googletest-name, performance-move-const-arg | ||
|
||
|
||
|
||
|
||
|
||
|
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
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
Oops, something went wrong.
eb2b975
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'OpenTelemetry-cpp sdk Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.BM_AlwaysOnSamplerConstruction
1.5693324538569653
ns/iter0.7651133746684433
ns/iter2.05
BM_LockFreeBuffer/2
10759804.248809814
ns/iter5257745.691247889
ns/iter2.05
This comment was automatically generated by workflow using github-action-benchmark.
eb2b975
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'OpenTelemetry-cpp api Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.BM_NaiveSpinLockThrashing/2/process_time/real_time
0.6102399623140375
ms/iter0.2629673999288808
ms/iter2.32
This comment was automatically generated by workflow using github-action-benchmark.