[PATCH] D102338: [Sema] Always search the full function scope context if a potential availability violation is encountered

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 13 20:46:54 PDT 2021


arphaman added a comment.

Thanks for the patch! I think the new checking semantics behavior provided by this patch are fine and match what the Swift compiler allows in the `if #available` blocks in Swift. I will do some additional testing tomorrow but I'm hoping I can approve your patch in the next few days.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102338



More information about the cfe-commits mailing list