[Lldb-commits] [lldb] [lldb][api-test] Add API test for SBCommandInterpreter::CommandOverrideCallback (PR #94518)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 6 10:57:20 PDT 2024


================
@@ -1099,6 +1099,19 @@ static void LLDBSwigPythonCallPythonSBDebuggerTerminateCallback(lldb::user_id_t
   }
 }
 
+static bool LLDBSwigPythonCallPythonSBCommandInterpreterSetCommandOverrideCallback(void *baton, const char **argv) {
+  bool b = false;
----------------
bulbazord wrote:

Can you change the name `b` to something with more meaning? Maybe something like `ret_val`?

https://github.com/llvm/llvm-project/pull/94518


More information about the lldb-commits mailing list