================
@@ -3497,6 +3497,15 @@ void 
TokenAnnotator::calculateFormattingInformation(AnnotatedLine &Line) const {
           Tok->setType(TT_TrailingReturnArrow);
           break;
         }
+        if (Tok->isNot(TT_TrailingAnnotation))
----------------
HazardyKnusperkeks wrote:

But why? If there is no `Next` or it isn't a `l_paren` we also `continue`, 
shouldn't all that match to `TT_TrailingAnnotation`?

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

Reply via email to