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

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 15:59:34 PDT 2022


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

Update the error message to remove the reference to bytes, which can be confusing.


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.468728.patch
Type: text/x-patch
Size: 24070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221018/702eb59e/attachment-0001.bin>


More information about the cfe-commits mailing list