[PATCH] D159106: [analyzer] ArrayBoundCheckerV2 should listen to check::Bind as well

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 31 00:37:27 PDT 2023


steakhal planned changes to this revision.
steakhal added a comment.

This patch would cause FPs on this code:

  struct S {};
  void zero_size_array() {
    S arr[0];
    (void)arr;
  }

Being short on time, I'll just drop this commit from the stack and come back in a late future.
This might be related to D131501 <https://reviews.llvm.org/D131501>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159106



More information about the cfe-commits mailing list