[PATCH] D18943: clang-format: [JS] do not insert semicolons after wrapped annotations.

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 10 22:28:35 PDT 2016


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

Looks good.


================
Comment at: unittests/Format/FormatTestJS.cpp:689
@@ -688,1 +688,3 @@
                                       "String");
+  verifyFormat("function f(@Foo bar) {}", "function f(@Foo\n"
+                                          "  bar) {}");
----------------
Are there any other valid use cases of "@" in JS? If so, should we add a test for at least one of those?


http://reviews.llvm.org/D18943





More information about the cfe-commits mailing list