[libcxx-commits] [libcxx] [libcxx] Cache file attributes during directory iteration. (PR #93316)

Eduard Satdarov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 22 04:33:49 PDT 2024


================
@@ -201,7 +201,11 @@ class directory_entry {
     _IterNonSymlink,
     _RefreshSymlink,
     _RefreshSymlinkUnresolved,
-    _RefreshNonSymlink
+    _RefreshNonSymlink,
+#  if _LIBCPP_AVAILABILITY_HAS_FILESYSTEM_FULLY_POPULATED_CACHED_ENTRY
----------------
ed-sat wrote:

I have prepared patch without using availability define. If it suits for you we manage to release this patch with LLVM 19. Otherwise I can try to rework this patch like in the first option and release it later.

https://github.com/llvm/llvm-project/pull/93316


More information about the libcxx-commits mailing list