[Lldb-commits] [lldb] [lldb][NFC] Replace createStringError/llvm::formatv pairs with createStringErrorV (PR #176428)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 16 08:57:46 PST 2026


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 origin/main HEAD --extensions cpp -- lldb/source/Expression/DWARFExpression.cpp lldb/source/Expression/Expression.cpp lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp lldb/source/Plugins/Platform/WebAssembly/PlatformWasm.cpp lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp lldb/source/Protocol/MCP/Server.cpp lldb/source/Symbol/Function.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/source/Expression/Expression.cpp b/lldb/source/Expression/Expression.cpp
index 8b5852069..4f3e26ebb 100644
--- a/lldb/source/Expression/Expression.cpp
+++ b/lldb/source/Expression/Expression.cpp
@@ -53,7 +53,7 @@ lldb_private::FunctionCallLabel::fromString(llvm::StringRef label) {
   lldb::user_id_t module_id = 0;
   if (!llvm::to_integer(module_label, module_id))
     return llvm::createStringErrorV("failed to parse module ID from '{0}'.",
-                                   module_label);
+                                    module_label);
 
   lldb::user_id_t die_id;
   if (!llvm::to_integer(die_label, die_id))

``````````

</details>


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


More information about the lldb-commits mailing list