[PATCH] D118018: [RFC] [C+++20] [Modules] Mangling lambda in modules
Nathan Sidwell via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 24 04:04:25 PST 2022
urnathan added a comment.
I don't think this is wanted. there are two cases:
a) lambda is attached to some ODR-visible entitity. Something like (in module-purview at namespace-scope) '[maybe-export] auto var = []{};'. Here the lambda acquires 'var' as its context.
b) lambda is not attached like that. p1815 makes it ill-formed for the lambda to be exposed externally in that case.
see https://github.com/itanium-cxx-abi/cxx-abi/issues/84
FWIW I'm redoing the module mangling scheme, the current one is undemangleable
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118018/new/
https://reviews.llvm.org/D118018
More information about the cfe-commits
mailing list