[cfe-commits] r42001 - in /cfe/trunk: AST/Decl.cpp Parse/ParseObjc.cpp Sema/Sema.h Sema/SemaDecl.cpp Sema/SemaExpr.cpp include/clang/AST/Decl.h

Steve Naroff snaroff at apple.com
Mon Sep 17 07:45:21 PDT 2007


On Sep 16, 2007, at 11:17 PM, Chris Lattner wrote:

>> Fixes/tweaks that prevent "defaults-i.m" from compiling.
>
> Nice.
>>
>> +const char *Decl::getDeclKindName() {
>
> This method should be const.  What do you plan to use it for?
>

Debugging. It's equivalent to Stmt::getStmtClassName()...

snaroff

> -Chris
>
>
>




More information about the cfe-commits mailing list