diff options
Diffstat (limited to 'mlir/lib/Tools/lsp-server-support/SourceMgrUtils.h')
-rw-r--r-- | mlir/lib/Tools/lsp-server-support/SourceMgrUtils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Tools/lsp-server-support/SourceMgrUtils.h b/mlir/lib/Tools/lsp-server-support/SourceMgrUtils.h index da57f3df3c8e..523ef89cf0ec 100644 --- a/mlir/lib/Tools/lsp-server-support/SourceMgrUtils.h +++ b/mlir/lib/Tools/lsp-server-support/SourceMgrUtils.h @@ -31,8 +31,8 @@ SMRange convertTokenLocToRange(SMLoc loc); /// Extract a documentation comment for the given location within the source /// manager. Returns std::nullopt if no comment could be computed. -Optional<std::string> extractSourceDocComment(llvm::SourceMgr &sourceMgr, - SMLoc loc); +std::optional<std::string> extractSourceDocComment(llvm::SourceMgr &sourceMgr, + SMLoc loc); /// Returns true if the given range contains the given source location. Note /// that this has different behavior than SMRange because it is inclusive of the |