On Tue, Oct 28, 2008 at 1:29 PM, Sebastian Redl <[EMAIL PROTECTED]> wrote: > Doug Gregor wrote: >> >> This is the code we're looking at: >> >> >>>> >>>> + QualType CalleeType >>>> + = >>>> dyn_cast<CallExpr>(this)->getCallee()->IgnoreParens()->getType(); >>>> >> >> The dyn_cast<> (now a cast<>) gives us a CallExpr*, on which we >> immediately call getCallee() to get an Expr*, then IgnoreParens() and >> getType(), which returns a QualType. >> > > Out of curiosity, what difference does the IgnoreParens() make?
It turns something like "(f)" into "f". Although... hrm... it should never affect the type, so we shouldn't need it. Thanks! - Doug _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
