https://github.com/efriedma-quic commented:
In the specific case where the call has no arguments (which is the case which is actually likely to show up), it's pretty easy to emit the correct check: you can just pretend that `void (*f)()` is actually `void (*f)(void)`. The standard requires that the callee has that exact type. https://github.com/llvm/llvm-project/pull/243285 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
