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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to