]> granicus.if.org Git - clang/commit
[OpenCL] Fixing sampler initialisations for C++ mode.
authorNeil Hickey <neil.hickey@arm.com>
Tue, 16 Jul 2019 14:57:32 +0000 (14:57 +0000)
committerNeil Hickey <neil.hickey@arm.com>
Tue, 16 Jul 2019 14:57:32 +0000 (14:57 +0000)
commitec0a24cf0c4cda22adebd574bb5a9f01e793f657
tree336f38bd849b7fa3c1b465aa4dfe0f91cd1469fc
parent15319200cf006cd937d34507e8ad1dce5ce5e8ad
[OpenCL] Fixing sampler initialisations for C++ mode.

Allow conversions between integer and sampler type.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366212 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
lib/Sema/SemaOverload.cpp
test/CodeGenOpenCL/sampler.cl