aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Core/SourceLocationSpec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/SourceLocationSpec.cpp')
-rw-r--r--lldb/source/Core/SourceLocationSpec.cpp2
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(); }