rsmith added inline comments.

================
Comment at: lib/Sema/SemaType.cpp:5816
+    if (!T.isNull()) {
+      if (!T->getAs<DependentAddressSpaceType>()) {
+        ASTContext &Ctx = S.Context;
----------------
We should also create the AttributedType to track the source syntax in the 
dependent case. If we don't, the AttributedType will be missing after template 
instantiation.


Repository:
  rC Clang

https://reviews.llvm.org/D51229



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

Reply via email to