[Lldb-commits] [lldb] [lldb][NFC] Replace createStringError/llvm::formatv pairs with createStringErrorV (PR #176428)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 16 08:55:45 PST 2026
================
@@ -52,13 +52,13 @@ lldb_private::FunctionCallLabel::fromString(llvm::StringRef label) {
lldb::user_id_t module_id = 0;
if (!llvm::to_integer(module_label, module_id))
- return llvm::createStringError(
- llvm::formatv("failed to parse module ID from '{0}'.", module_label));
+ return llvm::createStringError("failed to parse module ID from '{0}'.",
----------------
Michael137 wrote:
```suggestion
return llvm::createStringErrorV("failed to parse module ID from '{0}'.",
```
https://github.com/llvm/llvm-project/pull/176428
More information about the lldb-commits
mailing list