razvanlupusoru wrote: > SO, in order to implement this, I've decided that the 'called as' (bound) > function must have the same signature as the one marked by the 'routine'. > This is trivially sensible in non-member functions, however requires a bit > more thought for member(and thus lambda-call-operators) functions. In this > case, we 'promote' the type of the function to a 'free' function by turning > the implicit 'this' to an explicit 'this'.
This seems sensible to me and glad you found a reasonable way to do this. https://github.com/llvm/llvm-project/pull/171749 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
