[clang] [Clang] Add thousands-separator to "cannot allocate array; evaluated array bound [...] exceeds the limit" diagnostic (PR #211785)
Ambrose Leeb via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 2 09:57:05 PDT 2026
================
@@ -1429,19 +1429,33 @@ inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB,
return DB;
}
+inline constexpr uint64_t DiagnosticIntegerSeparatorThreshold = 100'000;
----------------
Sirraide wrote:
Can you move this into `formatDiagnosticInteger`
https://github.com/llvm/llvm-project/pull/211785
More information about the cfe-commits
mailing list