[PATCH] D132275: [clang] Reset some attributed calling lambda

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 22 11:55:57 PDT 2022


efriedma added a comment.

Given that we mark up lambdas with the requirement that the pointer is nonnull/noundef/dereferenceable, we can't fix that by just messing with the attributes.  Among other things, we could use a definition from a different module.

Either we relax the requirements globally for all lambdas, or we fix EmitLambdaDelegatingInvokeBody() so it passes a pointer to a proper alloca instead of undef.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132275



More information about the cfe-commits mailing list