Name Date Size #Lines LOC

..--

type_traits/H--1,632864

utility/H--15882

.clang-tidyH A D08-Dec-2021249 87

CMakeLists.txtH A D23-Jan-20253.8 KiB202184

README.mdH A D26-Sep-2023757 1411

algorithm.hH A D12-Jul-20241.5 KiB4726

array.hH A D12-Jul-20242.7 KiB8054

atomic.hH A D16-Dec-20249.8 KiB217149

bit.hH A D12-Jul-20249.6 KiB296204

bitset.hH A D12-Jul-20243.1 KiB9260

cstddef.hH A D12-Jul-20242.6 KiB7257

expected.hH A D12-Jul-20241.9 KiB5834

functional.hH A D12-Jul-20242.5 KiB7145

iterator.hH A D12-Jul-20243.3 KiB9973

limits.hH A D07-Aug-20242.9 KiB9260

mutex.hH A D12-Jul-20241.7 KiB5021

new.cppH A D03-Nov-20241.2 KiB3114

new.hH A D03-Nov-20244.6 KiB11165

optional.hH A D12-Jul-20244.1 KiB13994

span.hH A D12-Jul-20244.3 KiB12584

string.hH A D03-Nov-20247.3 KiB231180

string_view.hH A D11-Oct-20247.4 KiB220128

stringstream.hH A D12-Jul-20243.1 KiB9653

type_traits.hH A D28-Jan-20253.7 KiB6554

utility.hH A D21-Sep-2023754 198

README.md

1This directory contains partial re-implementations of some C++ standard library
2utilities. They are for use with internal LLVM libc code and tests.
3
4More utilities can be added on an as needed basis. There are certain rules to
5be followed for future changes and additions:
6
71. Only two kind of headers can be included: Other headers from this directory,
8and free standing C headers.
92. Free standing C headers are to be included as C headers and not as C++
10headers. That is, use `#include <stddef.h>` and not `#include <cstddef>`.
113. The utilities should be defined in the namespace `LIBC_NAMESPACE::cpp`. The
12higher level namespace should have a `__` prefix to avoid symbol name pollution
13when the utilities are used in implementation of public functions.
14