[PATCH] D19204: clang-format: [JS] generator and async functions.
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 19 05:35:45 PDT 2016
djasper added inline comments.
================
Comment at: unittests/Format/FormatTestJS.cpp:339
@@ +338,3 @@
+ "}");
+ verifyFormat("async function* f() {\n"
+ " yield fetch(x);\n"
----------------
What does the star mean here? Should we actually introduce a token type or do you think it's just going to work? Specifically, what happens if you need to line-wrap?
http://reviews.llvm.org/D19204
More information about the cfe-commits
mailing list