[OpenCL] Added -std/-cl-std=c++
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 12 Apr 2018 14:17:04 +0000 (14:17 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 12 Apr 2018 14:17:04 +0000 (14:17 +0000)
commitc645f61ada2ae07a95d392377c828cf18bf47e32
treefadfe8efaa3ae8552a458fe24d11457d87102bf2
parentb4ba3988bb5b70241b548137204c33bb74ce8ace
[OpenCL] Added -std/-cl-std=c++

This is std option for OpenCL C++ v1.0.

Differential Revision: https://reviews.llvm.org/D45363

llvm-svn: 329911
12 files changed:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/LangStandards.def
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/InitPreprocessor.cpp
clang/test/Driver/autocomplete.c
clang/test/Driver/opencl.cl
clang/test/Driver/unknown-std.cl
clang/test/Frontend/opencl.cl
clang/test/Frontend/stdlang.c
clang/test/Preprocessor/predefined-macros.c