Author: kremenek
Date: Tue Jan  6 16:16:26 2009
New Revision: 61825

URL: http://llvm.org/viewvc/llvm-project?rev=61825&view=rev
Log:
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.

Modified:
    cfe/trunk/Driver/clang.cpp

Modified: cfe/trunk/Driver/clang.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=61825&r1=61824&r2=61825&view=diff

==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Tue Jan  6 16:16:26 2009
@@ -1577,9 +1577,6 @@
       ProcessInputFile(*PP, PPFactory, InFile, PCH ? GeneratePCH : ProgAction);
       
       HeaderInfo.ClearFileInfo();      
-      
-      if (Stats)
-        SourceMgr->PrintStats();
     }
   }
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to