[mlir] Use std::optional instead of llvm::Optional (NFC)
authorKazu Hirata <kazu@google.com>
Mon, 13 Mar 2023 06:01:50 +0000 (23:01 -0700)
committerKazu Hirata <kazu@google.com>
Mon, 13 Mar 2023 06:01:50 +0000 (23:01 -0700)
mlir/include/mlir/Debug/ExecutionContext.h

index 43a838f..097ae37 100644 (file)
@@ -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.
-  Optional<int> depthToBreak;
+  std::optional<int> depthToBreak;
 
   /// Observers that are notified before and after the callback is executed.
   SmallVector<Observer *> observers;