erichkeane added a comment. In D89559#2335557 <https://reviews.llvm.org/D89559#2335557>, @rjmccall wrote:
> No, if you put a calling convention on a lambda and then convert it to a > function pointer, you almost certainly want that CC to be honored. > > Is the `AttributedType` still present in `CallOperator->getType()`? No, it is not at that point: (gdb) p CallOperator->getType()->dump() FunctionProtoType 0x1177a160 'void (void) __attribute__((thiscall)) const' const thiscall `-AutoType 0x1177a0d0 'void' sugar `-BuiltinType 0x11716dc0 'void' CHANGES SINCE LAST ACTION https://reviews.llvm.org/D89559/new/ https://reviews.llvm.org/D89559 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits