🚨 suppress UBSAN warning

This commit is contained in:
Niels Lohmann 2022-07-21 14:57:56 +02:00
parent 7d4f2f4ec0
commit 002765c0e0
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -171,7 +171,7 @@ struct SaxEventLoggerExitAfterStartArray : public SaxEventLogger
// be done with a function attribute. See
// https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#disabling-instrumentation-with-attribute-no-sanitize-undefined
#if defined(__clang__)
__attribute__((no_sanitize("undefined")))
__attribute__((no_sanitize("undefined")))
#endif
void test_file_exception()
{