brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 805a287 Raw
41 lines · plain
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_CSTDBOOL11#define _LIBCPP_CSTDBOOL12 13/*14    cstdbool synopsis15 16Macros:17 18    __bool_true_false_are_defined19 20*/21 22#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)23#  include <__cxx03/cstdbool>24#else25#  include <__config>26 27#  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)28#    pragma GCC system_header29#  endif30 31#  undef __bool_true_false_are_defined32#  define __bool_true_false_are_defined 133 34#  if _LIBCPP_STD_VER >= 17 && !__building_module(std) && _LIBCPP_DIAGNOSE_DEPRECATED_HEADERS35#    warning <cstdbool> is deprecated in C++17 and removed in C++20.36#  endif37 38#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)39 40#endif // _LIBCPP_CSTDBOOL41