catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Suppress false positive from clang-analyzer
- Commit
060a41ec7b954cf6a556a88035f04b771680916b- Author
- Jonathan Vander Mey ·
- Committer
- Martin Hořeňovský
- Parents
90825a4f7aa4
Changes
include/internal/catch_context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/internal/catch_context.h b/include/internal/catch_context.h index 436621f6..c579c399 100644 --- a/include/internal/catch_context.h +++ b/include/internal/catch_context.h @@ -46,6 +46,7 @@ namespace Catch { { if( !IMutableContext::currentContext ) IMutableContext::createContext(); + // NOLINTNEXTLINE(clang-analyzer-core.uninitialized.UndefReturn) return *IMutableContext::currentContext; }