comparison DEPENDENCIES/generic/include/boost/predef/compiler/llvm.h @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
1 /* 1 /*
2 Copyright Redshift Software, Inc. 2008-2013 2 Copyright Rene Rivera 2008-2014
3 Distributed under the Boost Software License, Version 1.0. 3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at 4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt) 5 http://www.boost.org/LICENSE_1_0.txt)
6 */ 6 */
7 7
8 #ifndef BOOST_PREDEF_COMPILER_LLVM_H 8 #ifndef BOOST_PREDEF_COMPILER_LLVM_H
9 #define BOOST_PREDEF_COMPILER_LLVM_H 9 #define BOOST_PREDEF_COMPILER_LLVM_H
10
11 /* Other compilers that emulate this one need to be detected first. */
12
13 #include <boost/predef/compiler/clang.h>
10 14
11 #include <boost/predef/version_number.h> 15 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h> 16 #include <boost/predef/make.h>
13 17
14 /*` 18 /*`
24 */ 28 */
25 29
26 #define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_NOT_AVAILABLE 30 #define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_NOT_AVAILABLE
27 31
28 #if defined(__llvm__) 32 #if defined(__llvm__)
29 # undef BOOST_COMP_LLVM 33 # define BOOST_COMP_LLVM_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
30 # define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_AVAILABLE
31 #endif 34 #endif
32 35
33 #if BOOST_COMP_LLVM 36 #ifdef BOOST_COMP_LLVM_DETECTION
37 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
38 # define BOOST_COMP_LLVM_EMULATED BOOST_COMP_LLVM_DETECTION
39 # else
40 # undef BOOST_COMP_LLVM
41 # define BOOST_COMP_LLVM BOOST_COMP_LLVM_DETECTION
42 # endif
34 # define BOOST_COMP_LLVM_AVAILABLE 43 # define BOOST_COMP_LLVM_AVAILABLE
44 # include <boost/predef/detail/comp_detected.h>
35 #endif 45 #endif
36 46
37 #define BOOST_COMP_LLVM_NAME "LLVM" 47 #define BOOST_COMP_LLVM_NAME "LLVM"
38 48
39 #include <boost/predef/detail/test.h> 49 #include <boost/predef/detail/test.h>
40 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM,BOOST_COMP_LLVM_NAME) 50 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM,BOOST_COMP_LLVM_NAME)
41 51
52 #ifdef BOOST_COMP_LLVM_EMULATED
53 #include <boost/predef/detail/test.h>
54 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM_EMULATED,BOOST_COMP_LLVM_NAME)
55 #endif
56
42 57
43 #endif 58 #endif