forked from OSchip/llvm-project
7f65892086
Also, other EXPECT_* and ASSERT_* macros have been extended to accept bool values. Reviewers: abrachet, gchatelet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D73668 |
||
---|---|---|
.. | ||
Array.h | ||
ArrayRef.h | ||
CMakeLists.txt | ||
README.md | ||
StringRef.h | ||
TypeTraits.h |
README.md
This directory contains re-implementations of some C++ standard library as well as some LLVM utilities. These are to be used with internal LLVM libc code and tests. More utilities will be added on an as needed basis. There are certain rules to be followed for future changes and additions:
- Only two kind of headers can be included: Other headers from this directory, and free standing C headers.
- 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>
. - The utilities should be defined in the namespace
__llvm_libc::cpp
. The higher level namespace should have a__
prefix to avoid symbol name pollution when the utilities are used in implementation of public functions.