brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · d14df3e Raw
38 lines · 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//===----------------------------------------------------------------------===//8 9#ifndef _LIBCPP___CONFIGURATION_EXPERIMENTAL_H10#define _LIBCPP___CONFIGURATION_EXPERIMENTAL_H11 12#include <__config_site>13 14#ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER15#  pragma GCC system_header16#endif17 18#if __has_feature(experimental_library)19#  ifndef _LIBCPP_ENABLE_EXPERIMENTAL20#    define _LIBCPP_ENABLE_EXPERIMENTAL21#  endif22#endif23 24// Incomplete features get their own specific disabling flags. This makes it25// easier to grep for target specific flags once the feature is complete.26#if defined(_LIBCPP_ENABLE_EXPERIMENTAL) || defined(_LIBCPP_BUILDING_LIBRARY)27#  define _LIBCPP_HAS_EXPERIMENTAL_LIBRARY 128#else29#  define _LIBCPP_HAS_EXPERIMENTAL_LIBRARY 030#endif31 32#define _LIBCPP_HAS_EXPERIMENTAL_PSTL _LIBCPP_HAS_EXPERIMENTAL_LIBRARY33#define _LIBCPP_HAS_EXPERIMENTAL_TZDB _LIBCPP_HAS_EXPERIMENTAL_LIBRARY34#define _LIBCPP_HAS_EXPERIMENTAL_SYNCSTREAM _LIBCPP_HAS_EXPERIMENTAL_LIBRARY35#define _LIBCPP_HAS_EXPERIMENTAL_HARDENING_OBSERVE_SEMANTIC _LIBCPP_HAS_EXPERIMENTAL_LIBRARY36 37#endif // _LIBCPP___CONFIGURATION_EXPERIMENTAL_H38