Mercurial > hg > CbC > CbC_llvm
diff lldb/source/Core/SourceLocationSpec.cpp @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children | 1f2b6ac9f198 |
line wrap: on
line diff
--- a/lldb/source/Core/SourceLocationSpec.cpp Wed Jul 21 10:27:27 2021 +0900 +++ b/lldb/source/Core/SourceLocationSpec.cpp Wed Nov 09 17:45:10 2022 +0900 @@ -16,7 +16,7 @@ llvm::Optional<uint16_t> column, bool check_inlines, bool exact_match) : m_declaration(file_spec, line, - column.getValueOr(LLDB_INVALID_COLUMN_NUMBER)), + column.value_or(LLDB_INVALID_COLUMN_NUMBER)), m_check_inlines(check_inlines), m_exact_match(exact_match) {} SourceLocationSpec::operator bool() const { return m_declaration.IsValid(); }