[cfe-commits] r51768 - /cfe/trunk/Driver/ASTConsumers.cpp

Eli Friedman eli.friedman at gmail.com
Fri May 30 10:11:00 PDT 2008

On Fri, May 30, 2008 at 9:54 AM, Ted Kremenek <kremenek at apple.com> wrote:
> Eli,
> It seems like a better fix would be to just pass TranslationUnit to
> ASTConsumer::Initialize instead of ASTContext.  It seems silly to create two
> TranslationUnits objects.  Clients that want an ASTContext& can just get it
> from the TranslationUnit.  What do you think?

Sounds good to me.


More information about the cfe-commits mailing list