diff options
| author | Chris Thrasher | 2024-01-23 13:35:52 -0700 |
|---|---|---|
| committer | Chris Thrasher | 2024-01-24 22:41:00 -0700 |
| commit | 1078e7e95b3a06d4dadc75188de48bc4afffb955 (patch) | |
| tree | 571ac593f13020617b9d76dfb26ec4ac56f6fb29 /examples/120-Bdd-ScenarioGivenWhenThen.cpp | |
| parent | 79205da6a67f5ad3d7874cf1c6423283dfeab199 (diff) | |
| download | catch3-1078e7e95b3a06d4dadc75188de48bc4afffb955.tar.gz | |
Fix clang-tidy `bugprone-chained-comparison` warnings
This triggers when running clang-tidy's bugprone-* family of checks
in code which uses Catch2 even if Catch2 headers are marked as
SYSTEM headers due to how code expanded from macros is treated as
first party even if the macro comes from a 3rd party library. The
fix is luckily pretty straightforward.
This check is added in clang-tidy-18 due for release later this year.
Diffstat (limited to 'examples/120-Bdd-ScenarioGivenWhenThen.cpp')
0 files changed, 0 insertions, 0 deletions