The syntax is actually for await (const x of y) (d'oh).
This also fixes a crash for for tokens not followed by additional tokens.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 6552 Build 6552: arc lint + arc unit
Paths
| Differential D33329
clang-format: [JS] for await, and fix a crash with for loops. ClosedPublic Authored by mprobst on May 18 2017, 11:39 AM.
Details Summary The syntax is actually for await (const x of y) (d'oh).
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 18 2017, 2:23 PM Closed by commit rL303382: clang-format: [JS] for await, and fix a crash with for loops. (authored by mprobst). · Explain WhyMay 18 2017, 2:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 99468 lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJS.cpp
|