[flang][OpenMP] Fix build break after fe8b323f59
[llvm-project.git] / libcxx / test / std / input.output / string.streams / helper_string_macros.h
blob4a7d22daa788cb4dd64548912345b8d8657a2ba5
1 //===----------------------------------------------------------------------===//
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 //===----------------------------------------------------------------------===//
9 #ifndef TEST_STD_INPUTOUTPUT_STRINGSTREAMS_HELPER_MACROS_H
10 #define TEST_STD_INPUTOUTPUT_STRINGSTREAMS_HELPER_MACROS_H
12 #include "make_string.h"
14 #define CS(S) MAKE_CSTRING(CharT, S)
15 #define ST(S, a) std::basic_string<CharT, TraitsT, AllocT>(MAKE_CSTRING(CharT, S), MKSTR_LEN(CharT, S), a)
16 #define SV(S) std::basic_string_view<CharT, TraitsT>(MAKE_CSTRING(CharT, S), MKSTR_LEN(CharT, S))
18 #endif // TEST_STD_INPUTOUTPUT_STRINGSTREAMS_HELPER_MACROS_H