[all-commits] [llvm/llvm-project] 2bc46a: [clang] Format "array is too large" diagnostics wi...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Sep 23 05:47:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bc46ae8ffdd9510bc0f623c3ea35f7febbcd671
      https://github.com/llvm/llvm-project/commit/2bc46ae8ffdd9510bc0f623c3ea35f7febbcd671
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/C/C23/n2838.c
    M clang/test/C/drs/dr2xx.c

  Log Message:
  -----------
  [clang] Format "array is too large" diagnostics with separators (#160260)

We only display this diagnostic with large numbers, so add the
separators.

Not sure if `295'147'905'179'352'825'841` is much better than
`295147905179352825841` but I think it would be nice to have separators
in more diagnostics.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list