[libc-commits] [libc] [libc] Implement alphasort in dirent (PR #226487)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Mon Sep 28 15:03:26 PDT 2026
================
@@ -18,13 +18,23 @@
#include "src/__support/CPP/bitset.h"
#include "src/__support/macros/attributes.h"
#include "src/__support/macros/config.h"
+#include "src/__support/macros/null_check.h"
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
#include "src/string/memory_utils/inline_memcpy.h"
#include "src/string/string_length.h"
namespace LIBC_NAMESPACE_DECL {
namespace internal {
+// TODO: Add support for locales.
----------------
vonosmas wrote:
This comment is not needed here, since it's an internal function which just works on const-char strings.
https://github.com/llvm/llvm-project/pull/226487
More information about the libc-commits
mailing list