erik.pilkington added a comment.

Hi, thanks for working on this!
Why don't we just set the TypeDependent bit to false when building the 
underlying MemberExpr here? Based on the section of the standard you quoted 
that node shouldn't be considered type-dependent, but it is by clang. I think 
this patch is just hiding that underlying problem by fishing out the real 
type-dependence after constructing the MemberExpr when really that information 
should be included in the MemberExpr to begin with.
Thanks,
Erik


https://reviews.llvm.org/D40566



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

Reply via email to