[analyzer] Fix ExprEngine::VisitMemberExpr
authorAlexander Shaposhnikov <shal1t712@gmail.com>
Tue, 13 Sep 2016 19:17:20 +0000 (19:17 +0000)
committerAlexander Shaposhnikov <shal1t712@gmail.com>
Tue, 13 Sep 2016 19:17:20 +0000 (19:17 +0000)
commit6956d290341b3ceb7fb7599c9c772c08b0c2450a
treeb1920f96ce84f147cf1af44171a7575e944e57f5
parenta992f71bef1efc590be688a056b1c75432c019af
[analyzer] Fix ExprEngine::VisitMemberExpr

AST may contain intermediate ParenExpr nodes
between MemberExpr and ArrayToPointerDecay.
This diff adjusts the check in ExprEngine::VisitMemberExpr accordingly.
Test plan: make -j8 check-clang-analysis

Differential revision: https://reviews.llvm.org/D24484

llvm-svn: 281373
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/test/Analysis/array-struct.c