[Lldb-commits] [lldb] [lldb] Change SymbolContext::GetAddressRangeFromHereToEndLine to return Expected (NFC) (PR #110718)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 1 14:04:30 PDT 2024
================
@@ -201,8 +201,8 @@ class SymbolContext {
bool GetAddressRange(uint32_t scope, uint32_t range_idx,
bool use_inline_block_range, AddressRange &range) const;
- bool GetAddressRangeFromHereToEndLine(uint32_t end_line, AddressRange &range,
- Status &error);
+ llvm::Expected<bool> GetAddressRangeFromHereToEndLine(uint32_t end_line,
----------------
bulbazord wrote:
Is the `bool` value actually important? If not, this could be an `llvm::Error` to simplify the interface.
https://github.com/llvm/llvm-project/pull/110718
More information about the lldb-commits
mailing list