diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-04 05:32:14 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-04 05:32:14 +0000 |
commit | cd92a65edc7cbbbb7e3aee8d31008594de90fa51 (patch) | |
tree | c1cf307420ee554cee98dc841bda76c8b59e61f9 /lib/Parse/ParseAST.cpp | |
parent | de7738c14d39e41d3fb9e8f1c457deae99b4b76f (diff) |
Start switching the AST stats printing to use llvm::errs() instead of
fprintf. There is more cleanup to be done to the AST stats printing...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseAST.cpp')
-rw-r--r-- | lib/Parse/ParseAST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseAST.cpp b/lib/Parse/ParseAST.cpp index 21917b23ff..00685362fd 100644 --- a/lib/Parse/ParseAST.cpp +++ b/lib/Parse/ParseAST.cpp @@ -97,7 +97,7 @@ void clang::ParseAST(Sema &S, bool PrintStats) { Consumer->HandleTranslationUnit(S.getASTContext()); if (PrintStats) { - fprintf(stderr, "\nSTATISTICS:\n"); + llvm::errs() << "\nSTATISTICS:\n"; P.getActions().PrintStats(); S.getASTContext().PrintStats(); Decl::PrintStats(); |