Anastasia added a comment. In D61506#1493953 <https://reviews.llvm.org/D61506#1493953>, @keryell wrote:
> In D61506#1490555 <https://reviews.llvm.org/D61506#1490555>, @rsmith wrote: > > > Per the OpenCL C++ 1.0 specification, section 2: > > > > > The OpenCL C++ programming language is based on the ISO/IEC JTC1 SC22 > > > WG21 N 3690 language specification (a.k.a. C++14 specification). > > > > I think it would be reasonable to permit changing the base C++ standard in > > OpenCL C++ mode > > > Indeed! There should be an option to pick the version of C++ the user wants > for OpenCL. Unfortunately, this is not easy to do. We document changes on top of other spec and we need to provide references. It would be a lot more work to refer to all different spec versions of C++. Also the development becomes more complicated as it needs testing and fixing against all different C++ versions. It makes sense to focus on one version and potentially provide an upgrade in the future. Also C++17 is a reasonable target most of developers should be happy with at this point. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61506/new/ https://reviews.llvm.org/D61506 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits