[PATCH] D122748: [Sema] Don't check bounds for function pointer

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 30 10:36:08 PDT 2022


erichkeane added a comment.

It seems like this entire section of code was added here: https://github.com/llvm/llvm-project/commit/ce44fe199bbfd4b5a44764b678c431fdc117116a

@chrish_ericsson_atx should probably take a look at this.  That said, we might not want to early-exist here, I think we can just skip the `IsUnboundedArray` branch?  This example worked correctly in the 12.0 branch, so I think it was fine before then.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122748



More information about the cfe-commits mailing list