mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 19:16:06 +00:00

This is part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58. This patch updates the include paths used in `__cxx03/` to refer to the `__cxx03/` headers.
33 lines
764 B
C++
33 lines
764 B
C++
// -*- C++ -*-
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP_COMPLEX_H
|
|
#define _LIBCPP_COMPLEX_H
|
|
|
|
/*
|
|
complex.h synopsis
|
|
|
|
#include <__cxx03/ccomplex>
|
|
|
|
*/
|
|
|
|
#include <__cxx03/__config>
|
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
# pragma GCC system_header
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
# include <__cxx03/ccomplex>
|
|
#elif __has_include_next(<complex.h>)
|
|
# include_next <complex.h>
|
|
#endif
|
|
|
|
#endif // _LIBCPP_COMPLEX_H
|