Clang's default C++ standard is now gnu++17 instead of gnu++14.
- CUDA/HIP are unchanged: C++14 from D103221.
- Sony PS4/PS5 are unchanged: https://discourse.llvm.org/t/c-objc-switch-to-gnu-17-as-the-default-dialect/64360/6
- lit feature default-std-cxx is added to keep CLANG_DEFAULT_STD_CXX=xxx tests working. Whether the cmake variable should be retained is discussed in D133375.
Depends on D131464
Huh, i actually think something is wrong here (ignoreImplicit and outerImplicit seem to disagree on whether the CXXConstructExpr is implicit).
In any case, this is already wrong today in C++17 mode.
Would you mind adding // FIXME: is CXXConstructExpr implicit or not and I'll look at it later?