[cfe-dev] Member expression returns type with wrong qualifiers
neil at daikokuya.co.uk
Wed Feb 6 14:08:51 PST 2008
Steve Naroff wrote:-
> On Feb 6, 2008, at 12:20 AM, Eli Friedman wrote:
> > On Feb 4, 2008 5:54 PM, Steve Naroff <snaroff at apple.com> wrote:
> >> I think it would be a bit cleaner to fold the getTypeForMemberExpr()
> >> logic into Sema::ActOnMemberReferenceExpr() and pass in the derived
> >> type explicitly (just add an argument to the constructor). Passing
> >> the
> >> type in explicitly is more consistent with all the other expr AST's.
> > So, more like the attached?
> Exactly. Looks great.
> Please add a test for this bug/patch and commit.
Now we have qualifers elsewhere, don't we need to do more
than or-ing qualifiers?
More information about the cfe-dev