================
@@ -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)) {
----------------
XDeme wrote:

Yes, that would be easily broken with this case.
I don't think it is possible to use `parseAngle` now, because it is defined in 
inside `AnnotatingParser` in `Format/TokenAnnotator.cpp` and it uses some state 
of the class.

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