projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4b985
)
[mlir] Use std::optional instead of llvm::Optional (NFC)
author
Kazu Hirata
<kazu@google.com>
Mon, 13 Mar 2023 06:01:50 +0000
(23:01 -0700)
committer
Kazu Hirata
<kazu@google.com>
Mon, 13 Mar 2023 06:01:50 +0000
(23:01 -0700)
mlir/include/mlir/Debug/ExecutionContext.h
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Debug/ExecutionContext.h
b/mlir/include/mlir/Debug/ExecutionContext.h
index 43a838f1f65a73370991e74b42e0089c13d848c5..097ae372ca35bc0353ccd936f10693969838543c 100644
(file)
--- a/
mlir/include/mlir/Debug/ExecutionContext.h
+++ b/
mlir/include/mlir/Debug/ExecutionContext.h
@@
-117,7
+117,7
@@
private:
/// 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.
-
O
ptional<int> depthToBreak;
+
std::o
ptional<int> depthToBreak;
/// Observers that are notified before and after the callback is executed.
SmallVector<Observer *> observers;