blob: da08ec1230ada31fab63d7f40069033365f8feae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*===-- cmake/quadmath_wrapper.h.in ---------------------=-----------*- 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
*
*===----------------------------------------------------------------------===*/
#ifdef __clang_major__
/*
* _Complex inside quadmath.h triggers c99-extension warnings,
* when this header file is included into a C++ file.
* Disable them just during the inclusion of quadmath.h.
*/
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc99-extensions"
#endif
#include ${FLANG_INCLUDE_QUADMATH_H}
#ifdef __clang_major__
#pragma clang diagnostic pop
#endif
|