Files
clang-p2996/libc/utils/FPUtil/FEnvUtils.h
Hedin Garca 049cfc464d [libc] Rename FEnv.h and refactor subsequent files
Because Windows's pathnames are not case sensitive,
to avoid include conflicts between our header file FEnv.h and the
one from the C Standard library, <fenv.h>, the prior file was renamed.
The motive for the relabel came to fix this include error in
TestHelpers.cpp since a conflict arose with a file in the same
directory when #include <fenv.h> was being used.

Reviewed By: sivachandra, aeubanks

Differential Revision: https://reviews.llvm.org/D106470
2021-07-22 00:07:39 +00:00

21 lines
647 B
C++

//===-- Utilities for manipulating floating point environment ---*- 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 LLVM_LIBC_UTILS_FPUTIL_FENVUTILS_H
#define LLVM_LIBC_UTILS_FPUTIL_FENVUTILS_H
#ifdef __x86_64__
#include "x86_64/FEnvImpl.h"
#elif defined(__aarch64__)
#include "aarch64/FEnvImpl.h"
#else
#include "DummyFEnvImpl.h"
#endif
#endif // LLVM_LIBC_UTILS_FPUTIL_FENVUTILS_H