[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:09:17 PDT 2022


void added a comment.

The messages that's a bit annoying are the ones reporting "0 bytes past the end of the array":

  warning: array index 2 is 0 bytes past the end of the array (that has type 'int[2]')

I'm not sure what to do with these (except to leave them alone).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135920



More information about the cfe-commits mailing list