[clang] [Clang] Add thousands-separator to "cannot allocate array; evaluated array bound [...] exceeds the limit" diagnostic (PR #211785)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 24 06:48:39 PDT 2026
VachanVY wrote:
> Please use existing facilities to add thousands-separators, not implement a new one.
@zwuis do you mean `APInt::toString(..., /*InsertSeparators=*/true` (exposed via `llvm::toString` in `llvm/ADT/StringExtras.h`) ?
https://github.com/llvm/llvm-project/pull/211785
More information about the cfe-commits
mailing list