diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
| commit | 145449b1e420787bb99721a429341fa6be3adfb6 (patch) | |
| tree | 1d56ae694a6de602e348dd80165cf881a36600ed /lldb/source/Core/SourceLocationSpec.cpp | |
| parent | ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff) | |
Diffstat (limited to 'lldb/source/Core/SourceLocationSpec.cpp')
| -rw-r--r-- | lldb/source/Core/SourceLocationSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/SourceLocationSpec.cpp b/lldb/source/Core/SourceLocationSpec.cpp index 610754bb187c..c83d2d89370d 100644 --- a/lldb/source/Core/SourceLocationSpec.cpp +++ b/lldb/source/Core/SourceLocationSpec.cpp @@ -16,7 +16,7 @@ SourceLocationSpec::SourceLocationSpec(FileSpec file_spec, uint32_t line, 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(); } |
