]> granicus.if.org Git - clang/commitdiff
Always print out SourceManager stats with 'Stats' is true. This revealed that PTH...
authorTed Kremenek <kremenek@apple.com>
Fri, 9 Jan 2009 18:20:21 +0000 (18:20 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 9 Jan 2009 18:20:21 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61996 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/clang.cpp

index 268c26b0dfa303946a88401430f5196fd05d0fbf..6b3507e3a6c1000455a69b1d145427e4064d4d99 100644 (file)
@@ -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");
   }