[all-commits] [llvm/llvm-project] ba3619: [libc++] Avoid including things that require a fil...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Jul 4 11:29:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba3619b9273f38572fc797584b316d117938f760
      https://github.com/llvm/llvm-project/commit/ba3619b9273f38572fc797584b316d117938f760
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

  Changed paths:
    M libcxx/src/filesystem/file_descriptor.h
    M libcxx/src/filesystem/filesystem_clock.cpp
    M libcxx/src/filesystem/posix_compat.h
    M libcxx/src/filesystem/time_utils.h

  Log Message:
  -----------
  [libc++] Avoid including things that require a filesystem in filesytem_clock.cpp

The filesystem clock implementation should be available regardless of
whether a proper filesystem is available on the platform, so it makes
sense to try and avoid including things that are inherently filesystem-y
in the implementation of filesystem clock.

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




More information about the All-commits mailing list