Warning, /include/c++/v1/cassert is written in an unsupported language. File is not indexed.
0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009
0010 /*
0011 cassert synopsis
0012
0013 Macros:
0014
0015 assert
0016
0017 */
0018
0019 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0020 # include <__cxx03/cassert>
0021 #else
0022 # include <__config>
0023
0024 // <assert.h> is not provided by libc++
0025 # if __has_include(<assert.h>)
0026 # include <assert.h>
0027 # ifdef _LIBCPP_ASSERT_H
0028 # error "If libc++ starts defining <assert.h>, the __has_include check should move to libc++'s <assert.h>"
0029 # endif
0030 # endif
0031
0032 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0033 # pragma GCC system_header
0034 # endif
0035 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)