[all-commits] [llvm/llvm-project] d924c5: [libc][NFC] Sink "PlatformDefs.h" into "FloatPrope...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Nov 23 02:23:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d924c5d721f03fe37fae1badc6bfd05d2a33024c
      https://github.com/llvm/llvm-project/commit/d924c5d721f03fe37fae1badc6bfd05d2a33024c
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/FloatProperties.h
    M libc/src/__support/FPUtil/ManipulationFunctions.h
    R libc/src/__support/FPUtil/PlatformDefs.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/sqrt.h
    M libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/sprintf_test.cpp
    M libc/test/src/stdio/sscanf_test.cpp
    M libc/utils/MPFRWrapper/CMakeLists.txt
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
    M utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel

  Log Message:
  -----------
  [libc][NFC] Sink "PlatformDefs.h" into "FloatProperties.h" (#73226)

`PlatformDefs.h` does not bring a lot of value as a separate file.
It is transitively included in `FloatProperties.h` and `FPBits.h`. This
patch sinks it into `FloatProperties.h` and removes the associated build
targets.




More information about the All-commits mailing list