[Lldb-commits] [lldb] [lldb][NFC] Remove Stream::Printf calls with constant strings in Target/* (PR #210287)

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 21 05:35:58 PDT 2026


Teemperor wrote:

> I wonder, could `Printf(const char*)` (without further arguments) be overloaded to either complain, or call PutCString directly?

I like that idea, and maybe we should do that as a short-term solution. My long-term plan is to move everything to Stream's formatv and then delete our own Printf wrapper. But I think once the last Printf("...") call is gone, we maybe should just mark it as deprecated.

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


More information about the lldb-commits mailing list