文件最后提交记录最后更新时间
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Add a .clang-tidy file for the toplevel libc directory.4 年前
[libc][type_traits] Add aligned_storage (#94074)1 年前
[libc] Mass replace enclosing namespace (#67032)2 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Handle allocation failures in the dirent API gracefully.3 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)1 年前
[libc][type_traits] Add aligned_storage (#94074)1 年前
[libc][clang-tidy] Add llvm-header-guard to get consistant naming and prevent file copy/paste issues. (#66477)2 年前
README.md

This directory contains partial re-implementations of some C++ standard library utilities. They are for use with internal LLVM libc code and tests.

More utilities can be added on an as needed basis. There are certain rules to be followed for future changes and additions:

  1. Only two kind of headers can be included: Other headers from this directory, and free standing C headers.
  2. Free standing C headers are to be included as C headers and not as C++ headers. That is, use #include <stddef.h> and not #include <cstddef>.
  3. The utilities should be defined in the namespace LIBC_NAMESPACE::cpp. The higher level namespace should have a __ prefix to avoid symbol name pollution when the utilities are used in implementation of public functions.