[all-commits] [llvm/llvm-project] bf0ded: [libc][NFC] split standalone_cpp into single headers

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Mar 8 11:56:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf0ded805ad0ee977d3462e3face546fad93d0ed
      https://github.com/llvm/llvm-project/commit/bf0ded805ad0ee977d3462e3face546fad93d0ed
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M libc/fuzzing/math/CMakeLists.txt
    M libc/src/__support/CMakeLists.txt
    M libc/src/__support/CPP/CMakeLists.txt
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/string/CMakeLists.txt
    M libc/src/string/memory_utils/CMakeLists.txt
    M libc/test/src/__support/CPP/CMakeLists.txt
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/exhaustive/CMakeLists.txt
    M libc/test/src/stdlib/CMakeLists.txt
    M libc/test/src/string/memory_utils/CMakeLists.txt
    M libc/test/utils/UnitTest/CMakeLists.txt
    M libc/utils/MPFRWrapper/CMakeLists.txt
    M libc/utils/UnitTest/CMakeLists.txt

  Log Message:
  -----------
  [libc][NFC] split standalone_cpp into single headers

Previously, the entire support/CPP folder was in one header library,
which meant that a lot of headers were included where they shouldn't be.
This patch splits each header into its own target, as well as adjusting
each place they were included to only include what is used.

Reviewed By: sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D121237




More information about the All-commits mailing list