[PATCH] D79935: [clang-format] [PR44345] Long namespace closing comment is duplicated endlessly

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 15 05:53:25 PDT 2020


curdeius added inline comments.


================
Comment at: clang/lib/Format/NamespaceEndCommentsFixer.cpp:129
+  // } // namespace
+  //   // verylongnamespacenamethatdidnotfitonthepreviouscommenline
+  if (!(Comment->Next && Comment->Next->is(TT_LineComment)))
----------------
Nit: typo commenline -> commentline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79935





More information about the cfe-commits mailing list