From: Ted Kremenek Date: Fri, 9 Jan 2009 18:20:21 +0000 (+0000) Subject: Always print out SourceManager stats with 'Stats' is true. This revealed that PTH... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b95a6546d1f3847da29da0d1e8dc5d77b1a7fbb;p=clang 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 --- 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"); }