Skip to content
Snippets Groups Projects
Commit 27b11a9b authored by scott snyder's avatar scott snyder
Browse files

DetDescrCondTPCnv: Suppress undefined behavior sanitizer warnings.

Suppress known undefined behavior sanitizer warnings originating in cling.
parent 06e46718
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
#undef NDEBUG #undef NDEBUG
#include "DetDescrCondTPCnv/DetDescrCondIdentifier_old_cnv.h" #include "DetDescrCondTPCnv/DetDescrCondIdentifier_old_cnv.h"
#include "TestTools/leakcheck.h" #include "TestTools/leakcheck.h"
#include "CxxUtils/ubsan_suppress.h"
#include "TInterpreter.h"
#include <cassert> #include <cassert>
#include <iostream> #include <iostream>
...@@ -34,6 +36,7 @@ void test1() ...@@ -34,6 +36,7 @@ void test1()
int main() int main()
{ {
CxxUtils::ubsan_suppress ([]() { TInterpreter::Instance(); });
test1(); test1();
return 0; return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment