[PATCH] D103307: [clang-format] successive C# attributes cause line breaking issues

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 28 13:07:10 PDT 2021


curdeius accepted this revision.
curdeius added a comment.

LGTM.



================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3529
+      return true;
+    // Break between ] and [ but only when its really 2 attributes.
+    if (Left.is(TT_AttributeSquare) && Right.is(TT_AttributeSquare) &&
----------------
Nit.


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

https://reviews.llvm.org/D103307



More information about the cfe-commits mailing list