[cfe-commits] r60413 - in /cfe/trunk: Driver/PrintParserCallbacks.cpp include/clang/AST/ExprCXX.h include/clang/Basic/DiagnosticKinds.def include/clang/Parse/Action.h include/clang/Parse/Parser.h lib/AST/ExprCXX.cpp lib/AST/StmtPrinter.cpp lib/AST/StmtSerialization.cpp lib/Parse/ParseDecl.cpp lib/Parse/ParseExprCXX.cpp lib/Sema/Sema.h lib/Sema/SemaExprCXX.cpp lib/Sema/SemaType.cpp test/SemaCXX/new-delete.cpp www/cxx_status.html

Douglas Gregor dgregor at apple.com
Tue Dec 2 07:35:50 PST 2008


On Dec 2, 2008, at 6:44 AM, Sebastian Redl wrote:

> Author: cornedbee
> Date: Tue Dec  2 08:43:59 2008
> New Revision: 60413
>
> URL: http://llvm.org/viewvc/llvm-project?rev=60413&view=rev
> Log:
> Handle new by passing the Declaration to the Action, not a processed  
> type.

This came out extremely well! You've managed to reuse as much of the  
existing code as possible, and the use of Skip rather than CXXNewMode  
makes the handled of GetTypeForDeclarator all that much better.

Thank you, Sebastian!

   - Doug



More information about the cfe-commits mailing list