[PATCH] D30452: Blacklist @mods and several other JSDoc tags from wrapping.
Daniel Jasper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 28 03:15:05 PST 2017
djasper accepted this revision.
djasper added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/Format/Format.cpp:624
+ // taze:, and @tag followed by { for a lot of JSDoc tags.
+ GoogleStyle.CommentPragmas = "(taze:|(@[A-Za-z_0-9-]*[ \\t]*{))";
GoogleStyle.MaxEmptyLinesToKeep = 3;
----------------
Thinking again, I think the first "*" should probably be a "+", but not sure.
https://reviews.llvm.org/D30452
More information about the cfe-commits
mailing list