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

summaryrefslogtreecommitdiffhomepage
path: root/tools/scripts/scriptCommon.py
diff options
context:
space:
mode:
authorMartin Hořeňovský2025-07-28 11:03:40 +0200
committerMartin Hořeňovský2025-07-28 11:03:46 +0200
commita1c7ee115f17c1e83b382f33ef2614070974626f (patch)
tree81dcd5fa0508cc94432f086f466909d3ecdab49e /tools/scripts/scriptCommon.py
parentd547cae549f484dda3c6a2b3cc5f71b9db40e842 (diff)
downloadcatch3-a1c7ee115f17c1e83b382f33ef2614070974626f.tar.gz
Don't follow __assume(false) with std::terminate in NDEBUG builds
Having `std::terminate` as the backstop after `__assume(false)` would trigger W4702 (unreachable code) with MSVC. As we want to keep `__assume(false)` for the optimization hint in NDEBUG builds, we have to avoid mixing in `std::terminate` for those builds. Fixes #3007
Diffstat (limited to 'tools/scripts/scriptCommon.py')
0 files changed, 0 insertions, 0 deletions