[Mlir-commits] [mlir] 23bd0e0 - [mlir] Use std::optional instead of llvm::Optional (NFC)
Kazu Hirata
llvmlistbot at llvm.org
Sun Mar 12 23:01:56 PDT 2023
Author: Kazu Hirata
Date: 2023-03-12T23:01:50-07:00
New Revision: 23bd0e037b744d1f93bdfad59b7575017725a96c
URL: https://github.com/llvm/llvm-project/commit/23bd0e037b744d1f93bdfad59b7575017725a96c
DIFF: https://github.com/llvm/llvm-project/commit/23bd0e037b744d1f93bdfad59b7575017725a96c.diff
LOG: [mlir] Use std::optional instead of llvm::Optional (NFC)
Added:
Modified:
mlir/include/mlir/Debug/ExecutionContext.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Debug/ExecutionContext.h b/mlir/include/mlir/Debug/ExecutionContext.h
index 43a838f1f65a7..097ae372ca35b 100644
--- a/mlir/include/mlir/Debug/ExecutionContext.h
+++ b/mlir/include/mlir/Debug/ExecutionContext.h
@@ -117,7 +117,7 @@ class ExecutionContext {
/// Next point to stop execution as describe by `Control` enum.
/// This is handle by indicating at which levels of depth the next
/// break should happen.
- Optional<int> depthToBreak;
+ std::optional<int> depthToBreak;
/// Observers that are notified before and after the callback is executed.
SmallVector<Observer *> observers;
More information about the Mlir-commits
mailing list