[PATCH] D135920: [clang][Sema] Use correct array size for diagnostic

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 16:04:09 PDT 2022


void updated this revision to Diff 468355.
void added a comment.

Update more testcases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135920/new/

https://reviews.llvm.org/D135920

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Sema/array-bounds-ptr-arith.c
  clang/test/Sema/integer-overflow.c
  clang/test/SemaCXX/array-bounds-ptr-arith.cpp
  clang/test/SemaCXX/array-bounds-strict-flex-arrays.cpp
  clang/test/SemaCXX/array-bounds.cpp
  clang/test/SemaCXX/integer-overflow.cpp
  clang/test/SemaObjC/flexible-array-bounds.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135920.468355.patch
Type: text/x-patch
Size: 24278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221017/37bb7b0b/attachment-0001.bin>


More information about the cfe-commits mailing list