Mercurial > hg > CbC > CbC_llvm
comparison 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 |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
14 | 14 |
15 SourceLocationSpec::SourceLocationSpec(FileSpec file_spec, uint32_t line, | 15 SourceLocationSpec::SourceLocationSpec(FileSpec file_spec, uint32_t line, |
16 llvm::Optional<uint16_t> column, | 16 llvm::Optional<uint16_t> column, |
17 bool check_inlines, bool exact_match) | 17 bool check_inlines, bool exact_match) |
18 : m_declaration(file_spec, line, | 18 : m_declaration(file_spec, line, |
19 column.getValueOr(LLDB_INVALID_COLUMN_NUMBER)), | 19 column.value_or(LLDB_INVALID_COLUMN_NUMBER)), |
20 m_check_inlines(check_inlines), m_exact_match(exact_match) {} | 20 m_check_inlines(check_inlines), m_exact_match(exact_match) {} |
21 | 21 |
22 SourceLocationSpec::operator bool() const { return m_declaration.IsValid(); } | 22 SourceLocationSpec::operator bool() const { return m_declaration.IsValid(); } |
23 | 23 |
24 bool SourceLocationSpec::operator!() const { return !operator bool(); } | 24 bool SourceLocationSpec::operator!() const { return !operator bool(); } |