[PATCH] D132275: [clang] Reset some attributed calling lambda
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 22 15:03:24 PDT 2022
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
More information about the cfe-commits
mailing list