This revision was automatically updated to reflect the committed changes.
krasimir marked an inline comment as done.
Closed by commit rL330324: [clang-format] Don't remove empty lines before
namespace endings (authored by krasimir, committed by ).
Herald added a subscriber: llvm-commits.
Changed
krasimir marked an inline comment as done.
krasimir added inline comments.
Comment at: lib/Format/NamespaceEndCommentsFixer.h:24
+// Finds the namespace token corresponding to a closing namespace `}`, if that
+// is to be formatted.
djasper wrote:
> I don't und
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.
krasimir created this revision.
krasimir added a reviewer: djasper.
Herald added subscribers: cfe-commits, klimek.
This implements an alternative to r327861, namely preserving empty lines before
namespace endings.
Repository:
rC Clang
https://reviews.llvm.org/D45373
Files:
lib/Format/Name