https://github.com/JDevlieghere commented:

I'm in favor of this. I rarely have a meaningful error code and it makes the 
code needlessly verbose. 

I was going to ask if we wanted to make an overload of the existing 
`createStringError` but without the error code. But then I noticed that it uses 
the printf-style formatters (and not the llvm one). I think @bulbazord tried to 
add a `formatv` overload but that slowed down compilation of LLVM itself. Long 
story short, I think having this function take an `llvm::Twine` is fine. 

https://github.com/llvm/llvm-project/pull/93209
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to