forked from OSchip/llvm-project
[analyzer; alternated edges] look through expressions just like Environment does.
llvm-svn: 182425
This commit is contained in:
parent
cecf828972
commit
6d5bbec32e
|
@ -1838,7 +1838,9 @@ const Stmt *getStmtParent(const Stmt *S, ParentMap &PM) {
|
|||
if (!S)
|
||||
break;
|
||||
|
||||
if (isa<ExprWithCleanups>(S))
|
||||
if (isa<ExprWithCleanups>(S) ||
|
||||
isa<CXXBindTemporaryExpr>(S) ||
|
||||
isa<SubstNonTypeTemplateParmExpr>(S))
|
||||
continue;
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue