//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef TEST_STD_INPUTOUTPUT_STRINGSTREAMS_HELPER_MACROS_H #define TEST_STD_INPUTOUTPUT_STRINGSTREAMS_HELPER_MACROS_H #include "make_string.h" #define CS(S) MAKE_CSTRING(CharT, S) #define ST(S, a) std::basic_string(MAKE_CSTRING(CharT, S), MKSTR_LEN(CharT, S), a) #define SV(S) std::basic_string_view(MAKE_CSTRING(CharT, S), MKSTR_LEN(CharT, S)) #endif // TEST_STD_INPUTOUTPUT_STRINGSTREAMS_HELPER_MACROS_H