> After also discussing this with Daniel in person, I definitely think this > is the right approach. Clients should be free to interrogate the > ASTConsumer after ParseAST has completed, and it is easy to make it the > client's responsibility to delete the ASTConsumer. It will also force > people not to put logic in the destructor of an ASTConsumer other than > necessary cleanup.
This actually makes even more sense. I had assumed that there was some compelling reason for putting that delete there, but apparently there isn't. Thanks! Gr. Matthijs
signature.asc
Description: Digital signature
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
