[cfe-commits] r49142 - in /cfe/trunk: include/clang/AST/TranslationUnit.h lib/AST/TranslationUnit.cpp

Chris Lattner clattner at apple.com
Thu Apr 3 15:18:00 PDT 2008


On Apr 3, 2008, at 10:30 AM, Sam Bishop wrote:

> Chris Lattner wrote:
>> Eventually we want to use Decl->destroy(ASTContext&) instead of
>> calling delete directly.  This was the second half of the
>> "Creatification" patch that I haven't gotten to yet.
>
> Ah.  I won't be in such a hurry to add "delete" calls, then.

Adding calls to delete things when appropriate is definitely good.   
Don't worry about future changes. :)

-Chris



More information about the cfe-commits mailing list