diff options
author | Med Ismail Bennani <ismail@bennani.ma> | 2023-11-07 09:56:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 09:56:22 -0800 |
commit | 7991412270ce1147ca0ab286e2479b5381a564ad (patch) | |
tree | 6d5ce90ae589a48b81828b11ee8581d2ff77bc1b /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
parent | 3267cd3fa10651b46e9d1ce66940301e784c0533 (diff) | |
download | llvm-7991412270ce1147ca0ab286e2479b5381a564ad.zip llvm-7991412270ce1147ca0ab286e2479b5381a564ad.tar.gz llvm-7991412270ce1147ca0ab286e2479b5381a564ad.tar.bz2 |
[lldb/Interpreter] Make Scripted*Interface base class abstract (#71465)
This patch makes the various Scripted Interface base class abstract by
making the `CreatePluginObject` method pure virtual.
This means that we cannot construct a Scripted Interface base class
instance, so this patch also updates the various
`ScriptedInterpreter::CreateScripted*Interface` methods to return a
`nullptr` instead.`
This patch also removes the `ScriptedPlatformInterface` member from the
`ScriptInterpreter` class since it the interpreter can be owned by the
`ScriptedPlatform` instance itself, like we do for `ScriptedProcess`
objects.
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions