Before:
yield`foo`;
After:
yield `foo`;
This reinstates commit 71d3b5cd91 / r307023 and fixes the logic by
introducing an explicit table of JavaScript pseudo keywords.
Paths
| Differential D34953
clang-format: [JS] space between pseudo keywords and template literals. ClosedPublic Authored by mprobst on Jul 3 2017, 8:53 AM.
Details Summary Before: yield`foo`; After: yield `foo`; This reinstates commit 71d3b5cd91 / r307023 and fixes the logic by
Diff Detail
Event Timelinedjasper added inline comments.
This revision is now accepted and ready to land.Jul 4 2017, 1:27 AM Closed by commit rL307087: clang-format: [JS] space between pseudo keywords and template literals. (authored by mprobst). · Explain WhyJul 4 2017, 8:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 105181 cfe/trunk/lib/Format/FormatToken.h
cfe/trunk/lib/Format/TokenAnnotator.cpp
cfe/trunk/unittests/Format/FormatTestJS.cpp
|