================
@@ -3914,7 +3914,15 @@ void UnwrappedLineParser::parseRecord(bool ParseAsExpr) {
   // (this would still leave us with an ambiguity between template function
   // and class declarations).
   if (FormatTok->isOneOf(tok::colon, tok::less)) {
----------------
HazardyKnusperkeks wrote:

Why can't we use `parseAngle`? (Don't know if that would lead to better 
results.)

This can easily be broken with `class A<X > 3> f() {}`, right?

https://github.com/llvm/llvm-project/pull/77013
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to