This moves the LLVM_LIBC_IS_DEFINED macro to its own header is __support/macros. Its implementation leverages cpp::string_view instead of rolling its own strcmp; this necessitated fixing several missing constexpr in the string_view implementation. The new __support/macros/macro-utils.h is also broken out to hold the stringification macro and can be used in future for token pasting shenanigans and other such generic macro machinery.
LLVM libc ========= This directory and its subdirectories contain source code for llvm-libc, a retargetable implementation of the C standard library. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.