Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] loosen some clang-tidy check #19246

Merged
merged 1 commit into from
Oct 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
loosen some clang-tidy check
  • Loading branch information
scv119 committed Oct 9, 2021
commit f34e0378ad6828519a182e4983b3ad6237bd622b
10 changes: 10 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
# -modernize-use-emplace (more subtle behavior)
# -modernize-use-nodiscard (too much noise)
# -modernize-use-trailing-return-type (inconsistent style)
# -modernize-avoid-bind (incorrect conversion)
# -modernize-loop-convert (more subtle behavior)
# -modernize-replace-disallow-copy-and-assign-macro (inconsistent style)
# -modernize-make-unique (doesn't work with private constructor)
# -modernize-make-shared (doesn't work with private constructor)
# Other readability-* rules (potentially too noisy, inconsistent style)
# Other rules not mentioned here or below (not yet evaluated)
#
Expand All @@ -32,6 +37,11 @@ Checks: >
-modernize-use-emplace,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-modernize-avoid-bind,
-modernize-loop-convert,
-modernize-replace-disallow-copy-and-assign-macro,
-modernize-make-unique,
-modernize-make-shared,
performance-*,
readability-avoid-const-params-in-decls,
readability-braces-around-statements,
Expand Down