[libcxx-commits] [PATCH] D92212: Make libcxx work according to Clang C++ Status if -fchar8_t is passed
Marshall Clow via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 2 15:16:37 PST 2020
mclow.lists added a comment.
Consider the following program:
#include <iostream>
int main()
{
#ifdef __cpp_char8_t
std::cout << __cpp_char8_t << std::endl;
#endif
}
Now, build it five times:
clang++ -std=c++2a -fchar8_t junk.cpp && ./a.out
clang++ -std=c++17 -fchar8_t junk.cpp && ./a.out
clang++ -std=c++14 -fchar8_t junk.cpp && ./a.out
clang++ -std=c++11 -fchar8_t junk.cpp && ./a.out
clang++ -std=c++03 -fchar8_t junk.cpp && ./a.out
What output do you get?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92212/new/
https://reviews.llvm.org/D92212
More information about the libcxx-commits
mailing list