[clang] [OpenACC][CIR] 'bind' lowering with identifier (PR #171749)
Razvan Lupusoru via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 11 14:49:27 PST 2025
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
More information about the cfe-commits
mailing list