summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-14 01:05:20 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-14 01:05:20 +0000
commit1a0dd2e30bac6a2c29eb0961fc0543bf76f05f72 (patch)
treed4d6a3776ced0093431b101d53b801ddc769a918 /clang/lib
parent24b027401e6cf3dc89ced0f2124e0231857abed0 (diff)
downloadbcm5719-llvm-1a0dd2e30bac6a2c29eb0961fc0543bf76f05f72.tar.gz
bcm5719-llvm-1a0dd2e30bac6a2c29eb0961fc0543bf76f05f72.zip
Move definition of GRExprEngine::ProcessEndPath() out-of-line.
llvm-svn: 88729
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index 80de1c7a372..7907f63b414 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/lib/Analysis/GRExprEngine.cpp
@@ -896,6 +896,13 @@ void GRExprEngine::VisitGuardedExpr(Expr* Ex, Expr* L, Expr* R,
MakeNode(Dst, Ex, Pred, state->BindExpr(Ex, X, true));
}
+/// ProcessEndPath - Called by GRCoreEngine. Used to generate end-of-path
+/// nodes when the control reaches the end of a function.
+void GRExprEngine::ProcessEndPath(GREndPathNodeBuilder& builder) {
+ getTF().EvalEndPath(*this, builder);
+ StateMgr.EndPath(builder.getState());
+}
+
/// ProcessSwitch - Called by GRCoreEngine. Used to generate successor
/// nodes by processing the 'effects' of a switch statement.
void GRExprEngine::ProcessSwitch(GRSwitchNodeBuilder& builder) {
OpenPOWER on IntegriCloud