[PATCH] D112616: Fix crash on invalid code involving late parsed inline methods
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 7 20:29:14 PST 2021
rjmccall added a comment.
Okay. I guess the only choice, then, would be to not try to parse a template deduction guide when you're in a context where template deduction guides aren't allowed. Maybe that's not actually reasonable.
Well, whatever. I don't really have a problem with this patch; it seems reasonable and defensive. Feel free to go ahead.
I am curious why this doesn't affect friend functions, though. Do friend functions not have delayed exception specifications, or do they end up taking a different path somehow?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112616/new/
https://reviews.llvm.org/D112616
More information about the cfe-commits
mailing list