Re: [PATCH] D6700: Instantiate UnresolvedLookupExpr to MemberExpr when appropriate

2015-10-13 Thread Reid Kleckner via cfe-commits
rnk updated this revision to Diff 37283. rnk added a comment. - Rebase http://reviews.llvm.org/D6700 Files: lib/Sema/TreeTransform.h test/SemaTemplate/instantiate-using-decl.cpp Index: test/SemaTemplate/instantiate-using-decl.cpp

Re: [PATCH] D6700: Instantiate UnresolvedLookupExpr to MemberExpr when appropriate

2015-10-13 Thread Reid Kleckner via cfe-commits
rnk added a comment. Richard suggested that maybe we formed the wrong AST while parsing the template. I'm not sure that's the case. We have this very explicit logic that controls what AST nodes we form in SemaExprMember.cpp ClassifyImplicitMemberAccess: bool isStaticContext = SemaRef.CXXThis