cor3ntin added inline comments.
================ Comment at: clang/lib/Parse/ParseExprCXX.cpp:700 + + if (Tok.is(tok::identifier) && NextToken().is(tok::r_paren)) { + SourceLocation TemplateKWLoc; ---------------- aaron.ballman wrote: > This feels surprisingly restrictive to me, but it's sufficient for getting > libstdc++ working again. I've can't think of another kind of unqualified-id that could refer to a capturable entity here. Do you know what would be missing? Also, without being very restrictive, I'm not sure how this is implementable Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D123909/new/ https://reviews.llvm.org/D123909 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits