Skip to content

Commit 3e245b7

Browse files
authored
cleanup: disable modernize-type-traits in .clang-tidy (#14973)
1 parent 8b2be70 commit 3e245b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.clang-tidy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
# avoiding C arrays often makes the code less readable, and std::array is
2727
# not a drop-in replacement because it doesn't deduce the size.
2828
#
29+
# -modernize-type-traits: clang-tidy recommands using c++17 style variable
30+
# templates. We will enable this check after we moved to c++17.
31+
#
2932
# -performance-move-const-arg: This warning requires the developer to
3033
# know/care more about the implementation details of types/functions than
3134
# should be necessary. For example, `A a; F(std::move(a));` will trigger a
@@ -89,6 +92,7 @@ Checks: >
8992
-modernize-concat-nested-namespaces,
9093
-modernize-use-nodiscard,
9194
-modernize-avoid-c-arrays,
95+
-modernize-type-traits,
9296
-performance-move-const-arg,
9397
-performance-avoid-endl,
9498
-performance-enum-size,

0 commit comments

Comments
 (0)