As an extension, accept such lambdas in previous standards with a warning. * http://eel.is/c++draft/expr.prim.lambda * http://wg21.link/P1102 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D98433
Files compiled with C++ for OpenCL mode can now have a distinct file extension - clcpp, then clang driver picks the compilation mode automatically (-x clcpp) without the use of -cl-std=clc++. Differential Revision: https://reviews.llvm.org/D96771