ATLAS Offline Software
|
Helper for suppressing ubsan warnings. More...
Go to the source code of this file.
Namespaces | |
CxxUtils | |
Functions | |
void | CxxUtils::ubsan_suppress (void(*func)()) |
Helper for suppressing ubsan warnings. More... | |
Helper for suppressing ubsan warnings.
However, ubsan will report warnings only once for any given source location. So we can effectively suppress warnings by triggering the warning with stderr pointing to /dev/null. You can do that by calling the ubsan_suppress
function, passing it a function to call with stderr redirected to /dev/null.
Definition in file ubsan_suppress.h.