[Lldb-commits] [lldb] [lldb][API] Make SB-API functions const if possible. (PR #172687)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 17 11:11:52 PST 2025
================
@@ -202,12 +202,12 @@ SymbolType SBSymbol::GetType() {
return eSymbolTypeInvalid;
}
-uint32_t SBSymbol::GetID() {
+uint32_t SBSymbol::GetID() const {
LLDB_INSTRUMENT_VA(this);
if (m_opaque_ptr)
return m_opaque_ptr->GetID();
- return 0;
+ return UINT32_MAX;
----------------
bulbazord wrote:
Why did this change?
https://github.com/llvm/llvm-project/pull/172687
More information about the lldb-commits
mailing list