зеркало из https://github.com/microsoft/clang-1.git
[analyzer; alternated edges] look through expressions just like Environment does.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182425 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
569b4ad650
Коммит
a327bb12b1
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче