Extended list of valid frontend options with '-cl-std=CL2.0'.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 20 Nov 2014 19:25:00 +0000 (19:25 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 20 Nov 2014 19:25:00 +0000 (19:25 +0000)
commit561e0aa1800c9c78a3731b3fc1fc6e4d210b90df
treef8f58d14eec33055234b97f827626d6c87ea5ce2
parent55f410bf165b1a373e974fe6783d39949225961d
Extended list of valid frontend options with '-cl-std=CL2.0'.

This option sets language mode for the compilation of a source file to be OpenCL v2.0.

Example: clang -cc1 -cl-std=CL2.0 myfile.cl
llvm-svn: 222444
clang/include/clang/Frontend/LangStandards.def
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Frontend/std.cl [new file with mode: 0644]