aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-06 22:16:26 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-06 22:16:26 +0000
commitb789103464f55639384cb468e7ed90a8268c84f4 (patch)
treef925544e490f4e21849109b0846f8ef298127bf2 /Driver/clang.cpp
parent47f5209a80c7c75592e87eb296d2b51e03208ae0 (diff)
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
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp3
1 files changed, 0 insertions, 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();
}
}