git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anna Zaks 2013-06-06 22:02:55 +00:00
Родитель 49a246f4fa
Коммит 5955c37230
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1730,7 +1730,7 @@ void ExprEngine::VisitMemberExpr(const MemberExpr *M, ExplodedNode *Pred,
// We special case rvalue of array type because the analyzer cannot reason
// about it, since we expect all regions to be wrapped in Locs. So we will
// treat these as lvalues assuming that they will decay to pointers as soon
// as they are used. Below
// as they are used.
if (!M->isGLValue()) {
assert(M->getType()->isArrayType());
const ImplicitCastExpr *PE =