HazardyKnusperkeks added a comment.

Does this result in a different annotation? Could you add a test for that?



================
Comment at: clang/lib/Format/TokenAnnotator.cpp:2211-2212
     if (PreviousNotConst->is(tok::r_paren) &&
-        PreviousNotConst->is(TT_TypeDeclarationParen)) {
+        (PreviousNotConst->is(TT_TypeDeclarationParen) ||
+         PreviousNotConst->is(TT_AttributeParen))) {
       return true;
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156370/new/

https://reviews.llvm.org/D156370

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to