aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngine.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngine.cpp b/lib/StaticAnalyzer/Core/ExprEngine.cpp
index 5ad0269b6f..d1ee60001e 100644
--- a/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ b/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -877,10 +877,10 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
case Stmt::ObjCMessageExprClass: {
Bldr.takeNodes(Pred);
- VisitObjCMessage(ObjCMethodCall(cast<ObjCMessageExpr>(S),
- Pred->getState(),
- Pred->getLocationContext()),
- Pred, Dst);
+ ObjCMethodCall Call(cast<ObjCMessageExpr>(S),
+ Pred->getState(),
+ Pred->getLocationContext());
+ VisitObjCMessage(Call, Pred, Dst);
Bldr.addNodes(Dst);
break;
}