24 lines · plain
1/*===-- cmake/quadmath_wrapper.h.in ---------------------=-----------*- C -*-===2 *3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4 * See https://llvm.org/LICENSE.txt for license information.5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6 *7 *===----------------------------------------------------------------------===*/8 9#ifdef __clang_major__10/*11 * _Complex inside quadmath.h triggers c99-extension warnings,12 * when this header file is included into a C++ file.13 * Disable them just during the inclusion of quadmath.h.14 */15#pragma clang diagnostic push16#pragma clang diagnostic ignored "-Wc99-extensions"17#endif18 19#include ${FLANG_INCLUDE_QUADMATH_H}20 21#ifdef __clang_major__22#pragma clang diagnostic pop23#endif24