Skip to content

Commit

Permalink
Reorder some clang-tidy checks in .clang-tidy
Browse files Browse the repository at this point in the history
- Move clang-diagnostic into alphabetical order.
- Move three performance checks from the triaged list to the un-triaged
  list (I think they were accidentally added in the wrong place in
  #71721).
  • Loading branch information
jbytheway committed Mar 2, 2024
1 parent 7ee6c6a commit be7d548
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ cert-*,\
-cert-dcl37-c,\
-cert-dcl51-cpp,\
-cert-err58-cpp,\
clang-diagnostic-*,\
-clang-analyzer-core.CallAndMessage,\
-clang-analyzer-core.DivideZero,\
-clang-analyzer-core.NonNullParamChecker,\
-clang-analyzer-core.UndefinedBinaryOperatorResult,\
-clang-analyzer-cplusplus.NewDelete,\
clang-diagnostic-*,\
cppcoreguidelines-slicing,\
google-explicit-constructor,\
llvm-namespace-comment,\
Expand All @@ -62,9 +62,6 @@ modernize-*,\
-modernize-use-auto,\
-modernize-use-trailing-return-type,\
performance-*,\
-performance-avoid-endl,\
-performance-noexcept-swap,\
-performance-no-automatic-move,\
readability-*,\
-bugprone-assignment-in-if-condition,\
-bugprone-easily-swappable-parameters,\
Expand All @@ -88,6 +85,9 @@ readability-*,\
-modernize-return-braced-init-list,\
-modernize-use-default-member-init,\
-modernize-use-nodiscard,\
-performance-avoid-endl,\
-performance-noexcept-swap,\
-performance-no-automatic-move,\
-readability-avoid-unconditional-preprocessor-if,\
-readability-container-data-pointer,\
-readability-convert-member-functions-to-static,\
Expand Down

0 comments on commit be7d548

Please sign in to comment.