From 1b95a6546d1f3847da29da0d1e8dc5d77b1a7fbb Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 9 Jan 2009 18:20:21 +0000 Subject: [PATCH] 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 --- Driver/clang.cpp | 3 +-- 1 file changed, 1 insertion(+), 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"); } -- 2.40.0