]> granicus.if.org Git - clang/commit
[OpenCL][PR42031] Prevent deducing addr space in type alias.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 5 Jun 2019 14:50:01 +0000 (14:50 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 5 Jun 2019 14:50:01 +0000 (14:50 +0000)
commit879276a0134f25366e4c2391df661d24135df8fe
tree63993fb80a07562bc43b81cd5c692f9a6da775d1
parent9d8044da0139cc668cba83f0ca6f0165c5775973
[OpenCL][PR42031] Prevent deducing addr space in type alias.

Similar to typedefs we shouldn't deduce addr space in
type alias.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362611 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/SemaOpenCLCXX/address-space-deduction.cl