diff options
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 3383cdb519..55fbf1874a 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1686,8 +1686,7 @@ void GRExprEngine::VisitCast(Expr* CastE, Expr* Ex, NodeTy* Pred, NodeSet& Dst){ // Check for casts from array type to pointer type. if (ExTy->isArrayType()) { - assert(T->isPointerType() || T->isReferenceType()); - + assert(T->isPointerType()); V = StateMgr.ArrayToPointer(V); MakeNode(Dst, CastE, N, BindExpr(St, CastE, V)); continue; |