[all-commits] [llvm/llvm-project] 049cfc: [libc] Rename FEnv.h and refactor subsequent files

HedGarcia via All-commits all-commits at lists.llvm.org
Wed Jul 21 17:08:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 049cfc464d1718c5cd97fa8a8ddf0fc36e101f98
      https://github.com/llvm/llvm-project/commit/049cfc464d1718c5cd97fa8a8ddf0fc36e101f98
  Author: Hedin Garca <hedingarcia at google.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M libc/src/fenv/feclearexcept.cpp
    M libc/src/fenv/fegetenv.cpp
    M libc/src/fenv/fegetexceptflag.cpp
    M libc/src/fenv/fegetround.cpp
    M libc/src/fenv/feholdexcept.cpp
    M libc/src/fenv/feraiseexcept.cpp
    M libc/src/fenv/fesetenv.cpp
    M libc/src/fenv/fesetexceptflag.cpp
    M libc/src/fenv/fesetround.cpp
    M libc/src/fenv/fetestexcept.cpp
    M libc/src/fenv/feupdateenv.cpp
    M libc/test/src/fenv/enabled_exceptions_test.cpp
    M libc/test/src/fenv/exception_flags_test.cpp
    M libc/test/src/fenv/exception_status_test.cpp
    M libc/test/src/fenv/feclearexcept_test.cpp
    M libc/test/src/fenv/feholdexcept_test.cpp
    M libc/test/src/fenv/feupdateenv_test.cpp
    M libc/test/src/fenv/getenv_and_setenv_test.cpp
    M libc/test/src/math/RIntTest.h
    M libc/test/src/math/RoundToIntegerTest.h
    M libc/utils/FPUtil/CMakeLists.txt
    R libc/utils/FPUtil/DummyFEnv.h
    A libc/utils/FPUtil/DummyFEnvImpl.h
    R libc/utils/FPUtil/FEnv.h
    A libc/utils/FPUtil/FEnvUtils.h
    M libc/utils/FPUtil/NearestIntegerOperations.h
    R libc/utils/FPUtil/aarch64/FEnv.h
    A libc/utils/FPUtil/aarch64/FEnvImpl.h
    R libc/utils/FPUtil/x86_64/FEnv.h
    A libc/utils/FPUtil/x86_64/FEnvImpl.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list