commit | e09391a4bd4c2bb8fd6f22427f2e8838c48d054d | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Nov 27 21:46:50 2007 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Nov 27 21:46:50 2007 +0000 |
tree | a570e08449bbea14d4a4e1f022c828c0502247e3 | |
parent | 743ec37b37ef887b855c24a8ebbb21d91572b1b5 [diff] |
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