================
@@ -769,10 +768,10 @@ bool CommandObjectRaw::Execute(const char *args_string,
     handled = InvokeOverrideCallback(argv, result);
   }
   if (!handled) {
-    if (CheckRequirements(result))
-      handled = DoExecute(args_string, result);
+    if (CheckRequirements(result)) {
----------------
jasonmolenda wrote:

I don't think you should remove the `if (!handled)` check at the start of this 
block; it may be set to true if `InvokeOverrideCallback()` did something.

https://github.com/llvm/llvm-project/pull/69991
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to