[Lldb-commits] [lldb] [lldb] Bring more diagnostics in compliance with our coding standards (PR #190410)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Sat Apr 4 13:05:59 PDT 2026


================
@@ -70,8 +71,8 @@ TypeFilterImpl::FrontEnd::GetIndexOfChildWithName(ConstString name) {
       }
     }
   }
-  return llvm::createStringError("Type has no child named '%s'",
-                                 name.AsCString());
+  return llvm::createStringErrorV("type has no child named '{0}'",
+                                  name.GetStringRef());
----------------
JDevlieghere wrote:

TIL, nice, that makes things even easier.

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


More information about the lldb-commits mailing list