]> granicus.if.org Git - clang/commit
This handles the missing cases of opencl vector literals.
authorTanya Lattner <tonic@nondot.org>
Fri, 15 Jul 2011 23:07:01 +0000 (23:07 +0000)
committerTanya Lattner <tonic@nondot.org>
Fri, 15 Jul 2011 23:07:01 +0000 (23:07 +0000)
commit61b4bc80e943578ae855810918a1dc9697dbd15b
treec7dbecf09859eed29a717583c3bce74daf3f690e
parentdeefaf6eac47046f60b059d519585c42618a5291
This handles the missing cases of opencl vector literals.
Test cases provided by Anton Lokhmot.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135322 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
lib/Sema/SemaInit.cpp
test/CodeGenOpenCL/vector_literals_valid.cl [new file with mode: 0644]
test/SemaOpenCL/vector_literals_invalid.cl [new file with mode: 0644]