From b789103464f55639384cb468e7ed90a8268c84f4 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 6 Jan 2009 22:16:26 +0000 Subject: [PATCH] Remove redunant (and incorrect) call to SourceManager::PrintStats(). This would be called after a SourceManager was 'cleared', so it printed bogus results. Moreover, these stats are already printed earlier in the code path. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61825 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/clang.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Driver/clang.cpp b/Driver/clang.cpp index cb85eaee0f..1b29671aa9 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -1577,9 +1577,6 @@ int main(int argc, char **argv) { ProcessInputFile(*PP, PPFactory, InFile, PCH ? GeneratePCH : ProgAction); HeaderInfo.ClearFileInfo(); - - if (Stats) - SourceMgr->PrintStats(); } } -- 2.50.1