| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| type_traits/ | H | - | - | 2,058 | 1,196 | |
| utility/ | H | - | - | 173 | 97 | |
| README.md | H A D | 09-Dec-2025 | 757 | 14 | 11 | |
| algorithm.h | H A D | 09-Dec-2025 | 1.6 KiB | 50 | 28 | |
| array.h | H A D | 09-Dec-2025 | 2.7 KiB | 81 | 55 | |
| atomic.h | H A D | 09-Dec-2025 | 15.9 KiB | 431 | 333 | |
| bit.h | H A D | 09-Dec-2025 | 9.7 KiB | 299 | 207 | |
| bitset.h | H A D | 09-Dec-2025 | 3.1 KiB | 95 | 63 | |
| cstddef.h | H A D | 09-Dec-2025 | 2.6 KiB | 75 | 60 | |
| expected.h | H A D | 09-Dec-2025 | 1.9 KiB | 61 | 37 | |
| functional.h | H A D | 09-Dec-2025 | 2.5 KiB | 72 | 46 | |
| iterator.h | H A D | 09-Dec-2025 | 3.3 KiB | 100 | 74 | |
| limits.h | H A D | 09-Dec-2025 | 2.9 KiB | 93 | 61 | |
| mutex.h | H A D | 09-Dec-2025 | 1.7 KiB | 52 | 22 | |
| new.cpp | H A D | 09-Dec-2025 | 1.2 KiB | 45 | 28 | |
| new.h | H A D | 09-Dec-2025 | 4.8 KiB | 131 | 80 | |
| optional.h | H A D | 09-Dec-2025 | 4.1 KiB | 140 | 95 | |
| span.h | H A D | 09-Dec-2025 | 4.4 KiB | 132 | 90 | |
| string.h | H A D | 09-Dec-2025 | 7.4 KiB | 235 | 184 | |
| string_view.h | H A D | 09-Dec-2025 | 7.5 KiB | 223 | 131 | |
| stringstream.h | H A D | 09-Dec-2025 | 3.1 KiB | 97 | 54 | |
| type_traits.h | H A D | 09-Dec-2025 | 3.7 KiB | 71 | 60 | |
| utility.h | H A D | 09-Dec-2025 | 754 | 19 | 8 |
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