forked from OSchip/llvm-project
[analyzer] Use a stack-based local instead of a temporary to fix build.
Passing a temporary via reference parameter still requires a visible copy constructor. llvm-svn: 160840
This commit is contained in:
parent
226459efff
commit
7aab2295be
|
@ -877,10 +877,10 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
|
|||
|
||||
case Stmt::ObjCMessageExprClass: {
|
||||
Bldr.takeNodes(Pred);
|
||||
VisitObjCMessage(ObjCMethodCall(cast<ObjCMessageExpr>(S),
|
||||
ObjCMethodCall Call(cast<ObjCMessageExpr>(S),
|
||||
Pred->getState(),
|
||||
Pred->getLocationContext()),
|
||||
Pred, Dst);
|
||||
Pred->getLocationContext());
|
||||
VisitObjCMessage(Call, Pred, Dst);
|
||||
Bldr.addNodes(Dst);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue