]> granicus.if.org Git - clang/commit
Migrated static functions that print decls into a DeclPrinter class,
authorTed Kremenek <kremenek@apple.com>
Tue, 27 Nov 2007 21:46:50 +0000 (21:46 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 27 Nov 2007 21:46:50 +0000 (21:46 +0000)
commit1b5a4bdc852cc3d808746bd344a65397067ab1c0
treea570e08449bbea14d4a4e1f022c828c0502247e3
parent4cc627111453b75519d5130b57e06256da7b00e8
Migrated static functions that print decls into a DeclPrinter class,
which is now used (or subclasssed) by the ASTConsumers.  This new class
stores a FILE* that is used for writing, instead of just hardwiring output
to stderr (it defaults to stderr if no FILE* is provided).

Modified CreateASTPrinter() to accept a FILE* for printing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44377 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/ASTConsumers.cpp
Driver/ASTConsumers.h