Implement latest C++ feature test macro recommendations.
authorRichard Smith <richard@metafoo.co.uk>
Thu, 19 Dec 2019 20:57:04 +0000 (12:57 -0800)
committerRichard Smith <richard@metafoo.co.uk>
Thu, 19 Dec 2019 20:59:13 +0000 (12:59 -0800)
commitdf2e2ab07b48b81fb440e3522c6e639e8ef8f2e9
tree513d27bf62a1fceb5faaae561adca66e39d4b6e4
parentadd710eb23d5de385dff99d27e88f1660814b62b
Implement latest C++ feature test macro recommendations.

We don't yet advertise init capture packs, because I found some bugs
while testing it. We reject-valid and then crash on both of these:

template<int ...a> auto x = [...y = a] {};
template<int ...a> auto x = [y = a...] {};
clang/lib/Frontend/InitPreprocessor.cpp
clang/test/Lexer/cxx-features.cpp
clang/www/cxx_status.html