Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2024-04-25 14:29:32 +0200
committerGitHub2024-04-25 14:29:32 +0200
commitee1450f268dfd5c13aa8670ba97e93cabaf2e15d (patch)
tree89968b1eab27e97890328a743842bf54179cf8dc /include
parenta7782d1d7ca84b9cc4c0f3fc4abdec0951d722b2 (diff)
parenta2b2e1f707eb45cf1c136f03d597c299db10da2e (diff)
downloadcatch3-ee1450f268dfd5c13aa8670ba97e93cabaf2e15d.tar.gz
Merge pull request #2862 from rikyoz/backport-clang-tidy-bugprone-chained-comparison
Fix clang-tidy `bugprone-chained-comparison` warnings on v2.x
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_capture.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp
index a65b3aec..c7d2f945 100644
--- a/include/internal/catch_capture.hpp
+++ b/include/internal/catch_capture.hpp
@@ -47,7 +47,7 @@
INTERNAL_CATCH_TRY { \
CATCH_INTERNAL_START_WARNINGS_SUPPRESSION \
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
- catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \
+ catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); /* NOLINT(bugprone-chained-comparison) */ \
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION \
} INTERNAL_CATCH_CATCH( catchAssertionHandler ) \
INTERNAL_CATCH_REACT( catchAssertionHandler ) \