| /*===-- 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 |