[Lldb-commits] [lldb] [lldb] Make argument to ConstString::AsCString explicit (PR #190183)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 2 07:57:37 PDT 2026
Michael137 wrote:
> Why don't we just make "" the default parameter so it's safe by default?
I wanted to avoid it because code like:
```
if (foo.AsCString())
```
would change meaning.
That's harder to track down (and it's a bit hostile to any downstream users)
https://github.com/llvm/llvm-project/pull/190183
More information about the lldb-commits
mailing list