[Lldb-commits] [lldb] [lldb] Fix error : unknown error while starting lldb's C/C++ repl (PR #153560)

via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 14 02:00:53 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp -- lldb/source/Commands/CommandObjectExpression.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index 57b56ce7e..65365745e 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -642,7 +642,7 @@ void CommandObjectExpression::DoExecute(llvm::StringRef command,
 
           if (!expr.empty()) {
             result.GetOutputStream().Printf(
-              "Warning: trailing input is ignored in --repl mode\n");
+                "Warning: trailing input is ignored in --repl mode\n");
           }
 
           IOHandlerSP io_handler_sp(repl_sp->GetIOHandler());

``````````

</details>


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


More information about the lldb-commits mailing list