[libc-commits] [libc] [libc] Use RAII and DirScanResult in scandir (PR #240107)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Sun Nov 8 23:51:57 PST 2026


================
@@ -62,16 +80,17 @@ add_object_library(
     dir.h
   DEPENDS
     .dir_scan_impl
+    .dir_scan_result
     libc.src.__support.CPP.mutex
     libc.src.__support.CPP.new
     libc.src.__support.CPP.span
     libc.src.__support.threads.mutex
     libc.src.__support.error_or
-    libc.src.__support.alloc_checker
     libc.hdr.errno_macros
     libc.hdr.types.struct_dirent
 )
 
+
----------------
kaladron wrote:

I'll write a separate PR to add double blank line checking to our cmake formatter (fixed - I was being lazy and expecting things like this to get caught)

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


More information about the libc-commits mailing list