[cfe-commits] r58306 - in /cfe/trunk: include/clang/AST/Expr.h include/clang/AST/ExprCXX.h include/clang/AST/StmtNodes.def include/clang/Analysis/PathSensitive/GRExprEngine.h lib/AST/Expr.cpp lib/Analysis/GRExprEngine.cpp lib/Sema/SemaDecl.cpp li

Chris Lattner clattner at apple.com
Tue Oct 28 11:06:05 PDT 2008


On Oct 28, 2008, at 10:13 AM, 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.

Err, you're right.  Sorry for the idiot streak :)

-Chris



More information about the cfe-commits mailing list