https://github.com/Sirraide commented:
I still think it makes more sense to diagnose this when the FunctionDecl is created rather than when we try and return from it. https://github.com/llvm/llvm-project/pull/127623 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits