diff options
| author | Med Ismail Bennani <ismail@bennani.ma> | 2024-09-19 13:55:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-19 13:55:41 -0700 |
| commit | 21026073e3b0583caf0c81564c4d7ebf002fe67b (patch) | |
| tree | 622effdb134ebedf78fb36abab49adb5b4e9cd22 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h | |
| parent | 1335a11176f99cc54f423fe173708bd2373b59f7 (diff) | |
[lldb/Interpreter] Add requirements to Scripted Interface abstract methods (#109063)
This patch adds new requirements to the Scripted Interface abstract
method checker to check the minimum number of argument for abstract
methods.
This check is done when creating the interface object so the object is
not created if the user implementation doesn't match the abstract method
requirement.
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h')
| -rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h index 5e78ae764eeb..2d017396df7e 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h @@ -30,7 +30,8 @@ public: lldb::ThreadPlanSP thread_plan_sp, const StructuredDataImpl &args_sp) override; - llvm::SmallVector<llvm::StringLiteral> GetAbstractMethods() const override { + llvm::SmallVector<AbstractMethodRequirement> + GetAbstractMethodRequirements() const override { return {}; } |
