diff options
Diffstat (limited to 'mlir/lib/IR/Region.cpp')
| -rw-r--r-- | mlir/lib/IR/Region.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/IR/Region.cpp b/mlir/lib/IR/Region.cpp index c588e567bc3..6cec021b6a1 100644 --- a/mlir/lib/IR/Region.cpp +++ b/mlir/lib/IR/Region.cpp @@ -129,7 +129,7 @@ void Region::dropAllReferences() { /// is used to point to the operation containing the region, the actual error is /// reported at the operation with an offending use. static bool isIsolatedAbove(Region ®ion, Region &limit, - llvm::Optional<Location> noteLoc) { + Optional<Location> noteLoc) { assert(limit.isAncestor(®ion) && "expected isolation limit to be an ancestor of the given region"); @@ -174,7 +174,7 @@ static bool isIsolatedAbove(Region ®ion, Region &limit, return true; } -bool Region::isIsolatedFromAbove(llvm::Optional<Location> noteLoc) { +bool Region::isIsolatedFromAbove(Optional<Location> noteLoc) { return isIsolatedAbove(*this, *this, noteLoc); } |

