[clang] [Format] Do not crash on non-null terminated strings (PR #131299)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 14 03:37:44 PDT 2025


cor3ntin wrote:

It would be useful to have a repro or a stack trace here.
In particular, in `SourceManagerForFile`, `RequiresNullTerminator` is `false`, so the assert should _not_ fire on a non-null terminated file


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


More information about the cfe-commits mailing list