Closed mstorsjo closed 3 years ago
Could you, please, remove the whole declaration and replace the template specializations with the regular overloads?
Could you, please, remove the whole declaration and replace the template specializations with the regular overloads?
Ok, updated that way, I think.
They're still unused though, and now they are non-static functions. If I would keep static
on each of the overloads, the compiler would warn that they're unused still though.
Really, looks like this code was committed mistakenly and should be removed. Thank you for catching that!
Really, looks like this code was committed mistakenly and should be removed. Thank you for catching that!
Ok, updated the patch to remove those functions altogether.
This fixes warnings like these:
../src/MICmnLLDBDebugSessionInfo.cpp:877:17: warning: unused function 'GetBreakOrWatchPointAddress' [-Wunused-function]
lldb::SBAddress GetBreakOrWatchPointAddress(lldb::SBTarget &vrTarget,
^
../src/MICmnLLDBDebugSessionInfo.cpp:884:17: warning: unused function 'GetBreakOrWatchPointAddress' [-Wunused-function]
lldb::SBAddress GetBreakOrWatchPointAddress(lldb::SBTarget &vrTarget,
^
Alternative they could be removed altogether.