| 1 | //===-- Macros used by other macros ----------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLVM_LIBC_SRC___SUPPORT_MACROS_MACRO_UTILS_H |
| 10 | #define LLVM_LIBC_SRC___SUPPORT_MACROS_MACRO_UTILS_H |
| 11 | |
| 12 | // Stringify the argument after an extra pass of macro expansion. |
| 13 | #define LLVM_LIBC_STRINGIFY(x) LLVM_LIBC_STRINGIFY_IMPL(x) |
| 14 | #define LLVM_LIBC_STRINGIFY_IMPL(x) #x |
| 15 | |
| 16 | #endif // LLVM_LIBC_SRC___SUPPORT_MACROS_MACRO_UTILS_H |
| 17 | |