[PATCH] D45373: [clang-format] Don't remove empty lines before namespace endings

Daniel Jasper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 19 05:14:29 PDT 2018


djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.

Looks good.



================
Comment at: lib/Format/NamespaceEndCommentsFixer.h:24
 
+// Finds the namespace token corresponding to a closing namespace `}`, if that
+// is to be formatted.
----------------
I don't understand the "if that is to be formatted part". What do you mean?


Repository:
  rC Clang

https://reviews.llvm.org/D45373





More information about the cfe-commits mailing list