summaryrefslogtreecommitdiffstats
path: root/mlir/lib/IR/Region.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-12-18 09:28:48 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-18 09:29:20 -0800
commit4562e389a43caa2e30ebf277c12743edafe6a0ac (patch)
tree1901855666adba9be9576e864877fe191e197085 /mlir/lib/IR/Region.cpp
parent24ab8362f2099ed42f2e05f09fb9323ad0c5ab27 (diff)
downloadbcm5719-llvm-4562e389a43caa2e30ebf277c12743edafe6a0ac.tar.gz
bcm5719-llvm-4562e389a43caa2e30ebf277c12743edafe6a0ac.zip
NFC: Remove unnecessary 'llvm::' prefix from uses of llvm symbols declared in `mlir` namespace.
Aside from being cleaner, this also makes the codebase more consistent. PiperOrigin-RevId: 286206974
Diffstat (limited to 'mlir/lib/IR/Region.cpp')
-rw-r--r--mlir/lib/IR/Region.cpp4
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 &region, Region &limit,
- llvm::Optional<Location> noteLoc) {
+ Optional<Location> noteLoc) {
assert(limit.isAncestor(&region) &&
"expected isolation limit to be an ancestor of the given region");
@@ -174,7 +174,7 @@ static bool isIsolatedAbove(Region &region, Region &limit,
return true;
}
-bool Region::isIsolatedFromAbove(llvm::Optional<Location> noteLoc) {
+bool Region::isIsolatedFromAbove(Optional<Location> noteLoc) {
return isIsolatedAbove(*this, *this, noteLoc);
}
OpenPOWER on IntegriCloud