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
43a838f
..
097ae37
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;