[analyzer; alternated edges] look through expressions just like Environment does.

llvm-svn: 182425
This commit is contained in:
Ted Kremenek 2013-05-21 21:38:02 +00:00
parent cecf828972
commit 6d5bbec32e
1 changed files with 3 additions and 1 deletions

View File

@ -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;