]> granicus.if.org Git - clang/commit
[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)
commit32a02648ebefcd05452b87f0bb6596afcdd58d46
treef5ea48d5503c1c7408b91c01f6ae6441f7a2cf38
parenteb208defa1ad99366e4fc5bd1c9bc0712f803973
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281373 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/ExprEngine.cpp
test/Analysis/array-struct.c