[PATCH] D54858: [OpenCL] Improve diagnostics for address spaces in template instantiation

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 28 04:46:22 PST 2018


Anastasia updated this revision to Diff 175665.
Anastasia added a comment.

- Changing qualifiers while rebuilding types in TreeTransform is incorrect -> prevent deducing address space instead.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54858/new/

https://reviews.llvm.org/D54858

Files:
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaType.cpp
  lib/Sema/TreeTransform.h
  test/CodeGenOpenCLCXX/template-address-spaces.cl
  test/SemaOpenCLCXX/address-space-templates.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54858.175665.patch
Type: text/x-patch
Size: 4771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181128/78333845/attachment.bin>


More information about the cfe-commits mailing list