JavaScript supports asynchronous loop iteration in async functions:
for async (const x of y) ...
Paths
| Differential D33193
clang-format: [JS] for async loops. ClosedPublic Authored by mprobst on May 15 2017, 6:22 AM.
Details Summary JavaScript supports asynchronous loop iteration in async functions: for async (const x of y) ...
Diff Detail
Event Timelinedjasper added inline comments.
This revision is now accepted and ready to land.May 15 2017, 6:29 AM Closed by commit rL303106: clang-format: [JS] for async loops. (authored by mprobst). · Explain WhyMay 15 2017, 12:46 PM This revision was automatically updated to reflect the committed changes. mprobst marked an inline comment as done.
Revision Contents
Diff 98997 lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJS.cpp
|
Can we make this JS specific, e.g. by turning l. 579 into:
Alternatively, leave a comment that this is JavaScript's "async"