Skip to content

Commit

Permalink
Merge pull request #2862 from rikyoz/backport-clang-tidy-bugprone-cha…
Browse files Browse the repository at this point in the history
…ined-comparison

Fix clang-tidy `bugprone-chained-comparison` warnings on v2.x
  • Loading branch information
horenmar authored Apr 25, 2024
2 parents a7782d1 + a2b2e1f commit ee1450f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/internal/catch_capture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) \
Expand Down

0 comments on commit ee1450f

Please sign in to comment.