vitalybuka added a comment. In D132275#3740822 <https://reviews.llvm.org/D132275#3740822>, @efriedma wrote:
> In D132275#3740802 <https://reviews.llvm.org/D132275#3740802>, @vitalybuka > wrote: > >> In D132275#3740479 <https://reviews.llvm.org/D132275#3740479>, @efriedma >> wrote: >> >>> Among other things, we could use a definition from a different module. >> >> Is this a thing, I assumed lambda is always defined in the module? > > If you have a lambda in an inline function, it ends up linkonce_odr. Thanks. I see, linkonce_odr can pick the one which was not converted into static function, so with original attributes. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D132275/new/ https://reviews.llvm.org/D132275 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits