================
@@ -2181,10 +2181,12 @@ bool CommandObjectTypeSynthAdd::Execute_PythonClass(
ScriptInterpreter *interpreter = GetDebugger().GetScriptInterpreter();
- if (interpreter &&
- !interpreter->CheckObjectExists(impl->GetPythonClassName()))
- result.AppendWarning("The provided class does not exist - please define it
"
- "before attempting to use this synthetic provider");
+ const char *python_class_name = impl->GetPythonClassName();
+ if (interpreter && !interpreter->CheckObjectExists(python_class_name))
+ result.AppendWarningWithFormatv(
+ "The provided class '{0}' does not exist - please define it "
----------------
Michael137 wrote:
i gotcha, yes rewording makes sense
https://github.com/llvm/llvm-project/pull/181829
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits