rjmccall added inline comments.

================
Comment at: lib/Sema/SemaType.cpp:7232
+      if (D.getContext() == DeclaratorContext::TemplateArgContext)
+        // Do not deduce address space for non-pointee type in template arg.
+        ;
----------------
I don't understand what you're trying to do here.  Template arguments may need 
to be directly qualified with an address-space sometimes, and if you prevent 
that unconditionally you're going to break all sorts of things, like 
partially-specializing a template based on the presence of an address-space 
qualifier.


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

https://reviews.llvm.org/D55127



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to