================
@@ -363,6 +363,14 @@ class Language : public PluginInterface {
return false;
}
+ /// Returns a boolean indicating whether two symbol contexts correspond to
+ /// the same function. If the plugin has no opinion, it should return
nullopt.
+ virtual std::optional<bool>
+ AreEquivalentFunctions(const SymbolContext &sc1,
----------------
kastiglione wrote:
equivalent functions sounds quite vague to my mind. Given that this function
operates on symbol contexts, and is called from `IsEquivalentContext`, I think
this would be better off named `AreEquivalentContexts`.
https://github.com/llvm/llvm-project/pull/112720
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits