From: Ted Kremenek Date: Mon, 24 Nov 2008 20:53:32 +0000 (+0000) Subject: Display the function we are analyzing before running LiveVariables. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ffc8a571f55ca0e6ac86aa1a827d8a54db9a6ce;p=clang Display the function we are analyzing before running LiveVariables. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59983 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/AnalysisConsumer.cpp b/Driver/AnalysisConsumer.cpp index 5d9f896173..df46322b5e 100644 --- a/Driver/AnalysisConsumer.cpp +++ b/Driver/AnalysisConsumer.cpp @@ -362,13 +362,13 @@ static void ActionGRExprEngine(AnalysisManager& mgr, GRTransferFuncs* tf, llvm::OwningPtr 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());