forked from OSchip/llvm-project
Fix oversight while refactoring code in 207198873 (Fix ForStmt and StmtBlock
destructors). getStatements().clear() should have been clear() in Statements.h. PiperOrigin-RevId: 207270417
This commit is contained in:
parent
fcf15a680b
commit
b4dea892f2
|
@ -206,7 +206,7 @@ public:
|
|||
// Explicitly erase statements instead of relying of 'StmtBlock' destructor
|
||||
// since child statements need to be destroyed before the MLValue that this
|
||||
// for stmt represents is destroyed.
|
||||
getStatements().clear();
|
||||
clear();
|
||||
}
|
||||
|
||||
AffineConstantExpr *getLowerBound() const { return lowerBound; }
|
||||
|
|
Loading…
Reference in New Issue