[libc-commits] [libc] [libc] Implement scandir and its unit tests (PR #223198)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Thu Sep 24 22:27:50 PDT 2026


================
@@ -14,12 +14,15 @@
 #ifndef LLVM_LIBC_SRC___SUPPORT_FILE_DIR_H
 #define LLVM_LIBC_SRC___SUPPORT_FILE_DIR_H
 
+#include "include/llvm-libc-types/__scandir_compare_t.h"
----------------
vonosmas wrote:

We should only include proxy headers from `src/`, not the private LLVM-libc headers from `include/` (might be missing in overlay build), or system headers like `<dirent.h>`.

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


More information about the libc-commits mailing list