mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 02:56:06 +00:00

Including The frozen C++03 headers results in a lot of formatting changes in the main headers, so this splits these changes into a separate commit instead. This is part of https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc.
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
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_CCOMPLEX
|
|
#define _LIBCPP_CCOMPLEX
|
|
|
|
/*
|
|
ccomplex synopsis
|
|
|
|
#include <complex>
|
|
|
|
*/
|
|
|
|
#if 0
|
|
#else // 0
|
|
# include <complex>
|
|
|
|
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
# pragma GCC system_header
|
|
# endif
|
|
|
|
# if _LIBCPP_STD_VER >= 20
|
|
|
|
using __standard_header_ccomplex _LIBCPP_DEPRECATED_("removed in C++20. Include <complex> instead.") = void;
|
|
using __use_standard_header_ccomplex = __standard_header_ccomplex;
|
|
|
|
# elif _LIBCPP_STD_VER >= 17
|
|
|
|
using __standard_header_ccomplex _LIBCPP_DEPRECATED_("Include <complex> instead.") = void;
|
|
using __use_standard_header_ccomplex = __standard_header_ccomplex;
|
|
|
|
# endif
|
|
#endif // 0
|
|
|
|
#endif // _LIBCPP_CCOMPLEX
|