зеркало из https://github.com/microsoft/clang-1.git
[analyzer] fixup the comment
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
49a246f4fa
Коммит
5955c37230
|
@ -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 =
|
||||
|
|
Загрузка…
Ссылка в новой задаче