[all-commits] [llvm/llvm-project] 1ef0ba: [libc][NFC] Move the Linux file implementation to ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue May 30 04:49:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ef0bafc4f6f03805558b900d703292fb957c100
      https://github.com/llvm/llvm-project/commit/1ef0bafc4f6f03805558b900d703292fb957c100
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M libc/src/__support/File/CMakeLists.txt
    A libc/src/__support/File/linux/CMakeLists.txt
    A libc/src/__support/File/linux/dir.cpp
    A libc/src/__support/File/linux/file.cpp
    R libc/src/__support/File/linux_dir.cpp
    R libc/src/__support/File/linux_file.cpp

  Log Message:
  -----------
  [libc][NFC] Move the Linux file implementation to a subdirectory

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.

Reviewed By: lntue

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




More information about the All-commits mailing list