summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/unknown-std.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenCL] Renamed value of std flag in C++ mode.Anastasia Stulova2019-08-231-1/+1
| | | | | | | | Clang should accept -std=clc++ (not -std=c++!) for OpenCL. This was forgotten in r367008. llvm-svn: 369779
* [OpenCL] Update comments/diagnostics to refer to C++ for OpenCLAnastasia Stulova2019-07-181-1/+1
| | | | | | | | | Clang doesn't implement OpenCL C++, change the comments to reflect that. Differential Revision: https://reviews.llvm.org/D64867 llvm-svn: 366421
* [OpenCL] Added -std/-cl-std=c++Anastasia Stulova2018-04-121-0/+1
| | | | | | | | This is std option for OpenCL C++ v1.0. Differential Revision: https://reviews.llvm.org/D45363 llvm-svn: 329911
* Improve diagnostics for bad -std= flag.Richard Smith2017-04-271-1/+1
| | | | | | | | | | | Don't list deprecated -std= values (c++0x etc). Only produce one line of output per standard, even if we know it by multiple names. In passing, add missing -std=gnu++03 alias (supported by GCC), and add new spelling '-std=cl1.0' for OpenCL 1.0 for consistency with the other values, with the same meaning as the preexisting '-std=cl'. llvm-svn: 301507
* [Driver] Report available language standards on user errorRichard Smith2017-02-141-0/+16
In case user did not provide valid standard name for -std option, available values (with short description) will be reported. Patch by Paweł Żukowski! llvm-svn: 295113
OpenPOWER on IntegriCloud