rnk added inline comments.

================
Comment at: lib/Sema/TreeTransform.h:9138
@@ +9137,3 @@
+          isa<MSPropertyDecl>(D))
+        return getSema().BuildPossibleImplicitMemberExpr(
+            SS, SourceLocation(), R, /*TemplateArgs=*/nullptr,
----------------
I believe this will always fail, so one alternative way to do this would be to 
add a stripped down entry point into Sema just for template instantiation that 
diagnoses UnresolvedLookupExprs finding instance members.


http://reviews.llvm.org/D6700



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

Reply via email to