[OpenCL] Fix access qualifiers metadata for kernel arguments with typedef
authorAlexey Sotkin <alexey.sotkin@intel.com>
Wed, 26 Jul 2017 18:49:54 +0000 (18:49 +0000)
committerAlexey Sotkin <alexey.sotkin@intel.com>
Wed, 26 Jul 2017 18:49:54 +0000 (18:49 +0000)
commit7d7f0dc08b5124d1af9818e2841eeb000eaf9624
tree47446f40ce004f239028bc4e0d21947b0fc47169
parent833ad37c9035baf52fb44e9300e142a756aaedfb
[OpenCL] Fix access qualifiers metadata for kernel arguments with typedef

Subscribers: cfe-commits, yaxunl, Anastasia

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

llvm-svn: 309155
clang/lib/CodeGen/CodeGenFunction.cpp
clang/test/CodeGenOpenCL/kernel-arg-info.cl