[cfe-commits] [PATCH] Remove PotentiallyPotentiallyEvaluated

John McCall rjmccall at apple.com
Wed Jan 18 17:22:25 PST 2012


On Jan 18, 2012, at 4:53 PM, Eli Friedman wrote:
> This patch passes all the regression tests except for one,
> CXX/expr/expr.prim/expr.prim.general/p12-0x.cpp, which I haven't
> figured out how to fix. (The issue is that given a DeclRefExpr
> pointing at a FieldDecl, there isn't any easy way to distinguish
> whether it is part of member pointer formation.)

A DeclRefExpr pointing at a FieldDecl should always be a part
of member pointer formation.  Any other use would be a MemberExpr.

John.



More information about the cfe-commits mailing list