From 228a69ee46fb3eb7ebfc765b36e3bc0d2fb84b31 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Mon, 18 Mar 2024 19:04:17 -0400 Subject: [PATCH] don't have clang-tidy yell about do-while and recursion (#2780) these patterns are used a lot in AMReX --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 391149e1da..289d1ebbce 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -7,6 +7,7 @@ Checks: > clang-diagnostic-*, cppcoreguidelines-*, -cppcoreguidelines-avoid-c-arrays, + -cppcoreguidelines-avoid-do-while, -cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-init-variables, @@ -20,6 +21,7 @@ Checks: > -misc-const-correctness, -misc-include-cleaner, -misc-non-private-member-variables-in-classes, + -misc-no-recursion, modernize-*, -modernize-avoid-c-arrays, -modernize-use-trailing-return-type,