]> granicus.if.org Git - clang/commit
[OpenCL] Fix OpenCL/SPIR version metadata in C++ mode.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 30 May 2019 15:18:07 +0000 (15:18 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 30 May 2019 15:18:07 +0000 (15:18 +0000)
commit3fe47eab4520a5fdfe3b83aa88ef6a9f46bc5330
tree436a149540513d11da81038f2ef8b039817ea333
parent97024bd353aed8d47cfabd3b7a329b1668d2bdde
[OpenCL] Fix OpenCL/SPIR version metadata in C++ mode.

C++ is derived from OpenCL v2.0 therefore set the versions
identically.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362102 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenOpenCL/spir_version.cl