Author: Med Ismail Bennani Date: 2023-04-25T17:26:45-07:00 New Revision: da0700829f163ad5d8bbd61aa137e586a816e06e
URL: https://github.com/llvm/llvm-project/commit/da0700829f163ad5d8bbd61aa137e586a816e06e DIFF: https://github.com/llvm/llvm-project/commit/da0700829f163ad5d8bbd61aa137e586a816e06e.diff LOG: [lldb] Fix another GCC build failure in ScriptedPythonInterface.h In 6c961ae, I've introduced a new explicit fully specialized templated method `ScriptedPythonInterface::ReverseTransform(bool&, PythonObject, Status&)`. However, that explicit specialization is causing GCC to choke when building the file as shown here: https://lab.llvm.org/buildbot/#/builders/217/builds/20430 To address that issue, this patch turns the method explicit specialization into an method overload. Differential Revision: https://reviews.llvm.org/D149218 Signed-off-by: Med Ismail Bennani <medismail.benn...@gmail.com> Added: Modified: lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h Removed: ################################################################################ diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h index 2a8ca262b91d..04e265159e43 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h @@ -146,7 +146,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface { original_arg = ExtractValueFromPythonObject<T>(transformed_arg, error); } - template <> + void ReverseTransform(bool &original_arg, python::PythonObject transformed_arg, Status &error) { python::PythonBoolean boolean_arg = python::PythonBoolean( _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits