Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-15 08:48:25

0001 /* Copyright 2024 Joaquin M Lopez Munoz.
0002  * Distributed under the Boost Software License, Version 1.0.
0003  * (See accompanying file LICENSE_1_0.txt or copy at
0004  * http://www.boost.org/LICENSE_1_0.txt)
0005  *
0006  * See http://www.boost.org/libs/poly_collection for library home page.
0007  */
0008 
0009 #if BOOST_WORKAROUND(BOOST_GCC_VERSION,>=40900)||\
0010     BOOST_WORKAROUND(BOOST_CLANG,>=1)&&\
0011     (__clang_major__>3 || __clang_major__==3 && __clang_minor__ >= 8)
0012 /* https://github.com/boostorg/poly_collection/issues/15 */
0013   
0014 #define BOOST_POLY_COLLECTION_INSIDE_NO_SANITIZE
0015 #define BOOST_POLY_COLLECTION_NO_SANITIZE \
0016 __attribute__((no_sanitize("undefined")))
0017 
0018 /* UBSan seems not to be supported in some environments */
0019 #if defined(BOOST_GCC_VERSION)
0020 #pragma GCC diagnostic push
0021 #pragma GCC diagnostic ignored "-Wattributes"
0022 #elif defined(BOOST_CLANG)
0023 #pragma clang diagnostic push
0024 #pragma clang diagnostic ignored "-Wattributes"
0025 #endif
0026 
0027 #else
0028 
0029 #define BOOST_POLY_COLLECTION_NO_SANITIZE
0030 
0031 #endif