[libc-commits] [PATCH] D121237: [libc][NFC] split standalone_cpp into single headers

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Mar 8 11:19:26 PST 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121237

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121237.413883.patch
Type: text/x-patch
Size: 8973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220308/da2db95a/attachment.bin>


More information about the libc-commits mailing list