forked from OSchip/llvm-project
[analyzer] Teach Environment to not look through MaterializeTemporaryExprs.
llvm-svn: 136414
This commit is contained in:
parent
3b446215d1
commit
47fc816b96
|
@ -83,9 +83,6 @@ SVal Environment::getSVal(const Stmt *E, SValBuilder& svalBuilder,
|
|||
case Stmt::CXXBindTemporaryExprClass:
|
||||
E = cast<CXXBindTemporaryExpr>(E)->getSubExpr();
|
||||
continue;
|
||||
case Stmt::MaterializeTemporaryExprClass:
|
||||
E = cast<MaterializeTemporaryExpr>(E)->GetTemporaryExpr();
|
||||
continue;
|
||||
// Handle all other Stmt* using a lookup.
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue