[cfe-commits] r59983 - /cfe/trunk/Driver/AnalysisConsumer.cpp

Ted Kremenek kremenek at apple.com
Mon Nov 24 12:53:32 PST 2008


Author: kremenek
Date: Mon Nov 24 14:53:32 2008
New Revision: 59983

URL: http://llvm.org/viewvc/llvm-project?rev=59983&view=rev
Log:
Display the function we are analyzing before running LiveVariables.

Modified:
    cfe/trunk/Driver/AnalysisConsumer.cpp

Modified: cfe/trunk/Driver/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/AnalysisConsumer.cpp?rev=59983&r1=59982&r2=59983&view=diff

==============================================================================
--- cfe/trunk/Driver/AnalysisConsumer.cpp (original)
+++ cfe/trunk/Driver/AnalysisConsumer.cpp Mon Nov 24 14:53:32 2008
@@ -362,13 +362,13 @@
   
   llvm::OwningPtr<GRTransferFuncs> TF(tf);
 
+  // Display progress.
+  mgr.DisplayFunction();
+
   // Construct the analysis engine.
   LiveVariables* L = mgr.getLiveVariables();
   if (!L) return;
-  
-  // Display progress.
-  mgr.DisplayFunction();
-  
+
   GRExprEngine Eng(*mgr.getCFG(), *mgr.getCodeDecl(), mgr.getContext(), *L,
                    mgr.getStoreManagerCreator());
 





More information about the cfe-commits mailing list