Fixes PR#47614. Deduction guides, implicit or user-defined, look like function declarations in the AST. They aren't really functions, though, and they always have a trailing return type, so it doesn't make sense to issue this warning for them.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Apologies, i's been a good long while since I was active in this area. @phosek is the most likely to know who would be the best contact in the future.
Comment Actions
Done. Thank you for the review! Can you also commit it for me? You can use name and email as in 6259016361345e09f0607ef4e037e00bcbe4bd40. Thanks!
Comment Actions
I've commit on your behalf in 844a8d3cecb4cc40e5d9694bcf111518910ea2ff, thanks! Btw, you might want to consider obtaining your own commit privileges now that you have several patches under your belt. For more information on that, see: https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access