[PATCH] D30452: Blacklist @mods and several other JSDoc tags from wrapping.

Martin Probst via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 28 03:16:26 PST 2017


mprobst marked an inline comment as done.
mprobst added inline comments.


================
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;
----------------
djasper wrote:
> Thinking again, I think the first "*" should probably be a "+", but not sure.
Ah. I tried that initially, and fooled myself into thinking that didn't work. Done.


https://reviews.llvm.org/D30452





More information about the cfe-commits mailing list