File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_COMPILER_LLVM_H
0009 #define BOOST_PREDEF_COMPILER_LLVM_H
0010
0011
0012
0013 #include <boost/predef/compiler/clang.h>
0014
0015 #include <boost/predef/version_number.h>
0016 #include <boost/predef/make.h>
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_NOT_AVAILABLE
0032
0033 #if defined(__llvm__)
0034 # define BOOST_COMP_LLVM_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0035 #endif
0036
0037 #ifdef BOOST_COMP_LLVM_DETECTION
0038 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0039 # define BOOST_COMP_LLVM_EMULATED BOOST_COMP_LLVM_DETECTION
0040 # else
0041 # undef BOOST_COMP_LLVM
0042 # define BOOST_COMP_LLVM BOOST_COMP_LLVM_DETECTION
0043 # endif
0044 # define BOOST_COMP_LLVM_AVAILABLE
0045 # include <boost/predef/detail/comp_detected.h>
0046 #endif
0047
0048 #define BOOST_COMP_LLVM_NAME "LLVM"
0049
0050 #endif
0051
0052 #include <boost/predef/detail/test.h>
0053 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM,BOOST_COMP_LLVM_NAME)
0054
0055 #ifdef BOOST_COMP_LLVM_EMULATED
0056 #include <boost/predef/detail/test.h>
0057 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM_EMULATED,BOOST_COMP_LLVM_NAME)
0058 #endif