ChuanqiXu added a comment.

In D118018#3265810 <https://reviews.llvm.org/D118018#3265810>, @urnathan wrote:

> 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

Oh, great to hear you are willing to take this. I know you must know much more 
about mangling than me. If you are going to refactor the mangling system, this 
one would be meaning less. I would abandon it later.

BTW, do you mind to be assigned for issue 
https://github.com/llvm/llvm-project/issues/52857 and 
https://github.com/llvm/llvm-project/issues/53232?


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