Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-03 08:13:26

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP___CXX03___CONFIGURATION_LANGUAGE_H
0011 #define _LIBCPP___CXX03___CONFIGURATION_LANGUAGE_H
0012 
0013 #include <__cxx03/__configuration/config_site_shim.h>
0014 
0015 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
0016 #  pragma GCC system_header
0017 #endif
0018 
0019 // NOLINTBEGIN(libcpp-cpp-version-check)
0020 #ifdef __cplusplus
0021 #  if __cplusplus <= 201103L
0022 #    define _LIBCPP_STD_VER 11
0023 #  elif __cplusplus <= 201402L
0024 #    define _LIBCPP_STD_VER 14
0025 #  elif __cplusplus <= 201703L
0026 #    define _LIBCPP_STD_VER 17
0027 #  elif __cplusplus <= 202002L
0028 #    define _LIBCPP_STD_VER 20
0029 #  elif __cplusplus <= 202302L
0030 #    define _LIBCPP_STD_VER 23
0031 #  else
0032 // Expected release year of the next C++ standard
0033 #    define _LIBCPP_STD_VER 26
0034 #  endif
0035 #endif // __cplusplus
0036 // NOLINTEND(libcpp-cpp-version-check)
0037 
0038 #if !defined(__cpp_rtti) || __cpp_rtti < 199711L
0039 #  define _LIBCPP_HAS_NO_RTTI
0040 #endif
0041 
0042 #if !defined(__cpp_exceptions) || __cpp_exceptions < 199711L
0043 #  define _LIBCPP_HAS_NO_EXCEPTIONS
0044 #endif
0045 
0046 #endif // _LIBCPP___CXX03___CONFIGURATION_LANGUAGE_H