diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-04 20:11:39 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-04 20:11:39 -0800 |
commit | 768cae4a5ab3a564b25ed36c379423f71b42d9d0 (patch) | |
tree | 325b693d6dd969d8b8592e8d400422fa56cf5e0a /lldb/source/Breakpoint/BreakpointResolverFileLine.cpp | |
parent | 192d9dd731921a377bc538fc2b13871815fac87d (diff) | |
download | llvm-768cae4a5ab3a564b25ed36c379423f71b42d9d0.zip llvm-768cae4a5ab3a564b25ed36c379423f71b42d9d0.tar.gz llvm-768cae4a5ab3a564b25ed36c379423f71b42d9d0.tar.bz2 |
[lldb] Use std::nullopt instead of None in comments (NFC)
This is part of an effort to migrate from llvm::Optional to
std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
Diffstat (limited to 'lldb/source/Breakpoint/BreakpointResolverFileLine.cpp')
-rw-r--r-- | lldb/source/Breakpoint/BreakpointResolverFileLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp b/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp index 5933595..3b6509b 100644 --- a/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp +++ b/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp @@ -200,7 +200,7 @@ void BreakpointResolverFileLine::DeduceSourceMapping( const llvm::StringRef path_separator = llvm::sys::path::get_separator( m_location_spec.GetFileSpec().GetPathStyle()); // Check if "b" is a suffix of "a". - // And return llvm::None if not or the new path + // And return std::nullopt if not or the new path // of "a" after consuming "b" from the back. auto check_suffix = [path_separator](llvm::StringRef a, llvm::StringRef b, |