From: Daniel Arndt Date: Mon, 3 Jan 2022 14:31:28 +0000 (-0500) Subject: Add clang-tidy check X-Git-Tag: v9.4.0-rc1~625^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c47ac1bd1bb48437f01abe027590d5dbaaad8ba;p=dealii.git Add clang-tidy check --- diff --git a/.clang-tidy b/.clang-tidy index 6bff358c3b..ac6987782f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -8,6 +8,6 @@ # - performance-inefficient-string-concatenation: We don't care about "a"+to_string(5)+... # - performance-no-automatic-move: All modern compiler perform the return value optimization and we prefer to keep things const. -Checks: "-*,cppcoreguidelines-pro-type-static-cast-downcast,google-readability-casting,modernize-*,-modernize-pass-by-value,-modernize-raw-string-literal,-modernize-use-auto,-modernize-use-override,-modernize-use-default-member-init,-modernize-use-transparent-functors,-modernize-use-trailing-return-type,-modernize-use-nodiscard,-modernize-avoid-c-arrays,-modernize-concat-nested-namespaces,use-emplace,mpi-*,performance-*,-performance-inefficient-string-concatenation,-performance-no-automatic-move" +Checks: "-*,cppcoreguidelines-pro-type-static-cast-downcast,google-readability-casting,modernize-*,-modernize-pass-by-value,-modernize-raw-string-literal,-modernize-use-auto,-modernize-use-override,-modernize-use-default-member-init,-modernize-use-transparent-functors,-modernize-use-trailing-return-type,-modernize-use-nodiscard,-modernize-avoid-c-arrays,-modernize-concat-nested-namespaces,use-emplace,mpi-*,performance-*,-performance-inefficient-string-concatenation,-performance-no-automatic-move,readability-implicit-bool-conversion" WarningsAsErrors: '*'