[Lldb-commits] [lldb] [lldb] Fix output of `help format` (PR #190409)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 3 15:26:57 PDT 2026


================
@@ -3173,14 +3173,14 @@ void CommandInterpreter::OutputHelpText(Stream &strm, llvm::StringRef word_text,
 
   uint32_t chars_left = max_columns;
 
-  auto nextWordLength = [](llvm::StringRef S) {
-    size_t pos = S.find(' ');
+  auto nextChunkLength = [](llvm::StringRef S) {
----------------
jimingham wrote:

We'd write a method or function `NextChunkLength`.  So that's also not right for a function.

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


More information about the lldb-commits mailing list