[Transforms] Silence a warning in SROA.cpp (NFC)
[llvm-project.git] / libcxx / include / __cxx03 / stdbool.h
blobe6c2eae2cfd1225bcb6aa8dd9eebf578d8d0aa1e
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-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP___CXX03_STDBOOL_H
11 #define _LIBCPP___CXX03_STDBOOL_H
14 stdbool.h synopsis
16 Macros:
18 __bool_true_false_are_defined
22 #include <__cxx03/__config>
24 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
25 # pragma GCC system_header
26 #endif
28 #if __has_include_next(<stdbool.h>)
29 # include_next <stdbool.h>
30 #endif
32 #ifdef __cplusplus
33 # undef bool
34 # undef true
35 # undef false
36 # undef __bool_true_false_are_defined
37 # define __bool_true_false_are_defined 1
38 #endif
40 #endif // _LIBCPP___CXX03_STDBOOL_H