Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
type_traits/ | H | - | - | 1,632 | 864 | |
utility/ | H | - | - | 158 | 82 | |
.clang-tidy | H A D | 08-Dec-2021 | 249 | 8 | 7 | |
CMakeLists.txt | H A D | 23-Jan-2025 | 3.8 KiB | 202 | 184 | |
README.md | H A D | 26-Sep-2023 | 757 | 14 | 11 | |
algorithm.h | H A D | 12-Jul-2024 | 1.5 KiB | 47 | 26 | |
array.h | H A D | 12-Jul-2024 | 2.7 KiB | 80 | 54 | |
atomic.h | H A D | 16-Dec-2024 | 9.8 KiB | 217 | 149 | |
bit.h | H A D | 12-Jul-2024 | 9.6 KiB | 296 | 204 | |
bitset.h | H A D | 12-Jul-2024 | 3.1 KiB | 92 | 60 | |
cstddef.h | H A D | 12-Jul-2024 | 2.6 KiB | 72 | 57 | |
expected.h | H A D | 12-Jul-2024 | 1.9 KiB | 58 | 34 | |
functional.h | H A D | 12-Jul-2024 | 2.5 KiB | 71 | 45 | |
iterator.h | H A D | 12-Jul-2024 | 3.3 KiB | 99 | 73 | |
limits.h | H A D | 07-Aug-2024 | 2.9 KiB | 92 | 60 | |
mutex.h | H A D | 12-Jul-2024 | 1.7 KiB | 50 | 21 | |
new.cpp | H A D | 03-Nov-2024 | 1.2 KiB | 31 | 14 | |
new.h | H A D | 03-Nov-2024 | 4.6 KiB | 111 | 65 | |
optional.h | H A D | 12-Jul-2024 | 4.1 KiB | 139 | 94 | |
span.h | H A D | 12-Jul-2024 | 4.3 KiB | 125 | 84 | |
string.h | H A D | 03-Nov-2024 | 7.3 KiB | 231 | 180 | |
string_view.h | H A D | 11-Oct-2024 | 7.4 KiB | 220 | 128 | |
stringstream.h | H A D | 12-Jul-2024 | 3.1 KiB | 96 | 53 | |
type_traits.h | H A D | 28-Jan-2025 | 3.7 KiB | 65 | 54 | |
utility.h | H A D | 21-Sep-2023 | 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