brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 26e87f8 Raw
54 lines · c
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef _LIBCPP___CONFIGURATION_LANGUAGE_H11#define _LIBCPP___CONFIGURATION_LANGUAGE_H12 13#include <__config_site>14 15#ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER16#  pragma GCC system_header17#endif18 19// NOLINTBEGIN(libcpp-cpp-version-check)20#ifdef __cplusplus21#  if __cplusplus < 201103L22#    define _LIBCPP_CXX03_LANG23#  endif24#  if __cplusplus <= 201103L25#    define _LIBCPP_STD_VER 1126#  elif __cplusplus <= 201402L27#    define _LIBCPP_STD_VER 1428#  elif __cplusplus <= 201703L29#    define _LIBCPP_STD_VER 1730#  elif __cplusplus <= 202002L31#    define _LIBCPP_STD_VER 2032#  elif __cplusplus <= 202302L33#    define _LIBCPP_STD_VER 2334#  else35// Expected release year of the next C++ standard36#    define _LIBCPP_STD_VER 2637#  endif38#endif // __cplusplus39// NOLINTEND(libcpp-cpp-version-check)40 41#if defined(__cpp_rtti) && __cpp_rtti >= 199711L42#  define _LIBCPP_HAS_RTTI 143#else44#  define _LIBCPP_HAS_RTTI 045#endif46 47#if defined(__cpp_exceptions) && __cpp_exceptions >= 199711L48#  define _LIBCPP_HAS_EXCEPTIONS 149#else50#  define _LIBCPP_HAS_EXCEPTIONS 051#endif52 53#endif // _LIBCPP___CONFIGURATION_LANGUAGE_H54