]> granicus.if.org Git - clang/commitdiff
Display the function we are analyzing before running LiveVariables.
authorTed Kremenek <kremenek@apple.com>
Mon, 24 Nov 2008 20:53:32 +0000 (20:53 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 24 Nov 2008 20:53:32 +0000 (20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59983 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/AnalysisConsumer.cpp

index 5d9f896173270a38ec30a6e5705fa52ac1e73608..df46322b5e6b17abda01170d23865681e700c2d9 100644 (file)
@@ -362,13 +362,13 @@ static void ActionGRExprEngine(AnalysisManager& mgr, GRTransferFuncs* tf,
   
   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());