ATLAS Offline Software
Loading...
Searching...
No Matches
no_sanitize_undefined.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
19
20
21#ifndef CXXUTILS_NO_SANITIZE_UNDEFINED_H
22#define CXXUTILS_NO_SANITIZE_UNDEFINED_H
23
24
25#if (__GNUC__ >= 6) && !defined(__clang__) && !defined(__ICC)
26# define NO_SANITIZE_UNDEFINED [[gnu::no_sanitize_undefined]]
27#else
28# define NO_SANITIZE_UNDEFINED
29#endif
30
31
32#endif // not CXXUTILS_NO_SANITIZE_UNDEFINED_H