[Lldb-commits] [lldb] [lldb] Check for abstract methods implementation in Scripted Plugin Objects (PR #71260)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 6 08:56:40 PST 2023
================
@@ -26,6 +26,10 @@ class ScriptedPlatformInterface : virtual public ScriptedInterface {
return {llvm::make_error<UnimplementedError>()};
}
+ llvm::SmallVector<llvm::StringLiteral> GetAbstractMethods() const override {
+ return {};
+ }
----------------
bulbazord wrote:
This is probably a gap in my understanding, why do we instantiate `ScriptedPlatformInterface` instead of something like `ScriptedPythonPlatform`? The `Interface` at the end of `ScriptedPlatformInterface` to me feels like we shouldn't be creating objects of that type at all.
https://github.com/llvm/llvm-project/pull/71260
More information about the lldb-commits
mailing list