]> granicus.if.org Git - clang/commit
Fix an address space id reset with array decay's
authorPekka Jaaskelainen <pekka.jaaskelainen@tut.fi>
Fri, 19 Dec 2014 18:04:27 +0000 (18:04 +0000)
committerPekka Jaaskelainen <pekka.jaaskelainen@tut.fi>
Fri, 19 Dec 2014 18:04:27 +0000 (18:04 +0000)
commit1e101d03e5d4f99e2558573a3e37847d3930117a
treeecd6d1013bd51cc713ea17465e72d59115a442b9
parent2de2da4d6d06120ad42477d95a987ffc779de85c
Fix an address space id reset with array decay's
implicit conversion.

The issue was produced with OpenCL C code that
called a function with a constant string literal
argument.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224592 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGenOpenCL/const-str-array-decay.cl [new file with mode: 0644]