[all-commits] [llvm/llvm-project] 4d292d: [libcxx] Use the posix code for directory_entry::_...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Feb 5 12:48:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d292d531bea6f7a6021f212e59b3826bc7cd913
      https://github.com/llvm/llvm-project/commit/4d292d531bea6f7a6021f212e59b3826bc7cd913
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M libcxx/src/filesystem/operations.cpp

  Log Message:
  -----------
  [libcxx] Use the posix code for directory_entry::__do_refresh

This works just fine for windows, as all the functions it calls
are implemented and wrapped for windows.

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


  Commit: d4f4e723d0b4f09d72880f1679c02d586bf8abfa
      https://github.com/llvm/llvm-project/commit/d4f4e723d0b4f09d72880f1679c02d586bf8abfa
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M libcxx/src/filesystem/operations.cpp

  Log Message:
  -----------
  [libcxx] Implement temp_directory_path using GetTempPath on windows

This does roughly the same as the manual implementation, but checks
a slightly different set of environment variables and has a more
appropriate fallback if no environment variables are available
(/tmp isn't a very useful fallback on windows).

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


Compare: https://github.com/llvm/llvm-project/compare/f6342806dbfc...d4f4e723d0b4


More information about the All-commits mailing list