diff options
| author | Leitwolf11 | 2026-09-29 19:54:42 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-09-29 19:54:42 +0300 |
| commit | a870d0a4b37c2840db4eeaaaaf57b4eab4db75d3 (patch) | |
| tree | 4de83fbe2df34f34160b2dad2a60147bb2a0b1be /tests/SelfTest/IntrospectiveTests/Algorithms.tests.cpp | |
| parent | 1f2ec07fdfe05af6df9a573f2c16551e91eef3a6 (diff) | |
| download | catch3-a870d0a4b37c2840db4eeaaaaf57b4eab4db75d3.tar.gz | |
Support exception-free clients in Catch3 property headers
Preserve the existing exception-throwing and exception-catching API when language exceptions are enabled. Compile the property evaluator, shrinker and value formatter without try/catch for clients using -fno-exceptions, and fail loudly on invalid generator range or missing callbacks instead of requiring throw expressions in those translation units.
Export the new diagnostic helper through Bazel and Meson header installations. This changes neither the upstream Catch2 implementation nor its compiler flags.
Validation: Clang++ C++20 syntax checks passed for property generators with exceptions both disabled and enabled; changed headers were formatted and git diff --check passed. The consuming compiler's Linux/Windows/macOS CI will verify the integration.
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/Algorithms.tests.cpp')
0 files changed, 0 insertions, 0 deletions