aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-09 18:20:21 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-09 18:20:21 +0000
commit1b95a6546d1f3847da29da0d1e8dc5d77b1a7fbb (patch)
treebe44e6dfa072afa0d51e43f511a16f4db3836e2b
parentf8d49f64ef6ab7e632717a31631fc289aab69428 (diff)
Always print out SourceManager stats with 'Stats' is true. This revealed that PTH always pulls in the source pages with -fsyntax-only (investigating further).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61996 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/clang.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 268c26b0df..6b3507e3a6 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1409,8 +1409,7 @@ static void ProcessInputFile(Preprocessor &PP, PreprocessorFactory &PPF,
PP.PrintStats();
PP.getIdentifierTable().PrintStats();
PP.getHeaderSearchInfo().PrintStats();
- if (ClearSourceMgr)
- PP.getSourceManager().PrintStats();
+ PP.getSourceManager().PrintStats();
fprintf(stderr, "\n");
}