[libc-commits] [PATCH] D151231: [libc][NFC] Move the Linux file implementation to a subdirectory

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 23 10:12:31 PDT 2023


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

This patch simply moves the special handling for `linux` files to a
subdirectory. This is done to make it easier in the future to extend
this support to targets (like the GPU) that will have different
dependencies.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151231

Files:
  libc/src/__support/File/CMakeLists.txt
  libc/src/__support/File/linux/CMakeLists.txt
  libc/src/__support/File/linux/dir.cpp
  libc/src/__support/File/linux/file.cpp
  libc/src/__support/File/linux_dir.cpp
  libc/src/__support/File/linux_file.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151231.524785.patch
Type: text/x-patch
Size: 3221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230523/4a917a49/attachment-0001.bin>


More information about the libc-commits mailing list