Path: blob/main/contrib/llvm-project/libcxx/include/__configuration/language.h
35259 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef _LIBCPP___CONFIGURATION_LANGUAGE_H10#define _LIBCPP___CONFIGURATION_LANGUAGE_H1112#include <__config_site>1314#ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER15# pragma GCC system_header16#endif1718// NOLINTBEGIN(libcpp-cpp-version-check)19#ifdef __cplusplus20# if __cplusplus <= 201103L21# define _LIBCPP_STD_VER 1122# elif __cplusplus <= 201402L23# define _LIBCPP_STD_VER 1424# elif __cplusplus <= 201703L25# define _LIBCPP_STD_VER 1726# elif __cplusplus <= 202002L27# define _LIBCPP_STD_VER 2028# elif __cplusplus <= 202302L29# define _LIBCPP_STD_VER 2330# else31// Expected release year of the next C++ standard32# define _LIBCPP_STD_VER 2633# endif34#endif // __cplusplus35// NOLINTEND(libcpp-cpp-version-check)3637#if !defined(__cpp_rtti) || __cpp_rtti < 199711L38# define _LIBCPP_HAS_NO_RTTI39#endif4041#if !defined(__cpp_exceptions) || __cpp_exceptions < 199711L42# define _LIBCPP_HAS_NO_EXCEPTIONS43#endif4445#endif // _LIBCPP___CONFIGURATION_LANGUAGE_H464748