[Lldb-commits] [lldb] Add AllowRepeats to SBCommandInterpreterRunOptions. (PR #94786)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 7 13:39:48 PDT 2024


================
@@ -72,6 +72,14 @@ class LLDB_API SBCommandInterpreterRunOptions {
 
   void SetSpawnThread(bool);
 
+  bool GetAllowRepeats() const;
+
+  // By default, RunCommandInterpreter will discard repeats if the
+  // IOHandler being used is not interactive.  Setting AllowRepeats to true
+  // will override this behavior and always process empty lines in the input
+  // as a repeat command.
----------------
JDevlieghere wrote:

These should be `///` so they get picked up by Doxygen.

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


More information about the lldb-commits mailing list