summaryrefslogtreecommitdiffstats
path: root/clang/Driver/AnalysisConsumer.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-24 20:53:32 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-24 20:53:32 +0000
commit3ca000af83433cfe030d15ce286648e381716854 (patch)
tree023ecda930024f21ea615b844185febf4aff4eb5 /clang/Driver/AnalysisConsumer.cpp
parente03879b8ad738b9b6df2dcb370ec0da02b282cef (diff)
downloadbcm5719-llvm-3ca000af83433cfe030d15ce286648e381716854.tar.gz
bcm5719-llvm-3ca000af83433cfe030d15ce286648e381716854.zip
Display the function we are analyzing before running LiveVariables.
llvm-svn: 59983
Diffstat (limited to 'clang/Driver/AnalysisConsumer.cpp')
-rw-r--r--clang/Driver/AnalysisConsumer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/Driver/AnalysisConsumer.cpp b/clang/Driver/AnalysisConsumer.cpp
index 5d9f8961732..df46322b5e6 100644
--- a/clang/Driver/AnalysisConsumer.cpp
+++ b/clang/Driver/AnalysisConsumer.cpp
@@ -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());
OpenPOWER on IntegriCloud