Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:44:40

0001 // Copyright 2021 Peter Dimov
0002 // Distributed under the Boost Software License, Version 1.0.
0003 // https://www.boost.org/LICENSE_1_0.txt)
0004 
0005 #if !defined(__apple_build_version__)
0006 
0007 # define BOOST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__ % 100)
0008 
0009 #else
0010 # define BOOST_CLANG_REPORTED_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__ % 100)
0011 
0012 // https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
0013 
0014 # if BOOST_CLANG_REPORTED_VERSION >= 150000
0015 #   define BOOST_CLANG_VERSION 160000
0016 
0017 # elif BOOST_CLANG_REPORTED_VERSION >= 140003
0018 #   define BOOST_CLANG_VERSION 150000
0019 
0020 # elif BOOST_CLANG_REPORTED_VERSION >= 140000
0021 #   define BOOST_CLANG_VERSION 140000
0022 
0023 # elif BOOST_CLANG_REPORTED_VERSION >= 130100
0024 #   define BOOST_CLANG_VERSION 130000
0025 
0026 # elif BOOST_CLANG_REPORTED_VERSION >= 130000
0027 #   define BOOST_CLANG_VERSION 120000
0028 
0029 # elif BOOST_CLANG_REPORTED_VERSION >= 120005
0030 #   define BOOST_CLANG_VERSION 110100
0031 
0032 # elif BOOST_CLANG_REPORTED_VERSION >= 120000
0033 #   define BOOST_CLANG_VERSION 100000
0034 
0035 # elif BOOST_CLANG_REPORTED_VERSION >= 110003
0036 #   define BOOST_CLANG_VERSION 90000
0037 
0038 # elif BOOST_CLANG_REPORTED_VERSION >= 110000
0039 #   define BOOST_CLANG_VERSION 80000
0040 
0041 # elif BOOST_CLANG_REPORTED_VERSION >= 100001
0042 #   define BOOST_CLANG_VERSION 70000
0043 
0044 # elif BOOST_CLANG_REPORTED_VERSION >= 100000
0045 #   define BOOST_CLANG_VERSION 60001
0046 
0047 # elif BOOST_CLANG_REPORTED_VERSION >= 90100
0048 #   define BOOST_CLANG_VERSION 50002
0049 
0050 # elif BOOST_CLANG_REPORTED_VERSION >= 90000
0051 #   define BOOST_CLANG_VERSION 40000
0052 
0053 # elif BOOST_CLANG_REPORTED_VERSION >= 80000
0054 #   define BOOST_CLANG_VERSION 30900
0055 
0056 # elif BOOST_CLANG_REPORTED_VERSION >= 70300
0057 #   define BOOST_CLANG_VERSION 30800
0058 
0059 # elif BOOST_CLANG_REPORTED_VERSION >= 70000
0060 #   define BOOST_CLANG_VERSION 30700
0061 
0062 # elif BOOST_CLANG_REPORTED_VERSION >= 60100
0063 #   define BOOST_CLANG_VERSION 30600
0064 
0065 # elif BOOST_CLANG_REPORTED_VERSION >= 60000
0066 #   define BOOST_CLANG_VERSION 30500
0067 
0068 # elif BOOST_CLANG_REPORTED_VERSION >= 50100
0069 #   define BOOST_CLANG_VERSION 30400
0070 
0071 # elif BOOST_CLANG_REPORTED_VERSION >= 50000
0072 #   define BOOST_CLANG_VERSION 30300
0073 
0074 # elif BOOST_CLANG_REPORTED_VERSION >= 40200
0075 #   define BOOST_CLANG_VERSION 30200
0076 
0077 # elif BOOST_CLANG_REPORTED_VERSION >= 30100
0078 #   define BOOST_CLANG_VERSION 30100
0079 
0080 # elif BOOST_CLANG_REPORTED_VERSION >= 20100
0081 #   define BOOST_CLANG_VERSION 30000
0082 
0083 # else
0084 #   define BOOST_CLANG_VERSION 20900
0085 
0086 # endif
0087 
0088 # undef BOOST_CLANG_REPORTED_VERSION
0089 #endif