summaryrefslogtreecommitdiffstats
path: root/clang
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
commitfeb260784b4cc4d6b06ca268199fde458929d841 (patch)
tree131d07352183238d96af9d547ff91d683103e186 /clang
parentae0e857b986ab2cec8c97ea0b61bfdc17be6a76e (diff)
downloadbcm5719-llvm-feb260784b4cc4d6b06ca268199fde458929d841.tar.gz
bcm5719-llvm-feb260784b4cc4d6b06ca268199fde458929d841.zip
Always print out SourceManager stats with 'Stats' is true. This revealed that PTH always pulls in the source pages with -fsyntax-only (investigating further).
llvm-svn: 61996
Diffstat (limited to 'clang')
-rw-r--r--clang/Driver/clang.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 268c26b0dfa..6b3507e3a6c 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/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");
}
OpenPOWER on IntegriCloud