Before:
a && = b;
After:
a &&= b;
These operators are new additions in ES2021.
Paths
| Differential D91132
clang-format: [JS] support new assignment operators. ClosedPublic Authored by mprobst on Nov 10 2020, 12:18 AM.
Details
Summary Before: a && = b; After: a &&= b; These operators are new additions in ES2021.
Diff Detail
Unit TestsFailed
Event TimelineThis revision is now accepted and ready to land.Nov 10 2020, 12:21 AM This revision was landed with ongoing or failed builds.Nov 10 2020, 12:27 AM Closed by commit rG16212b8b3e4f: clang-format: [JS] support new assignment operators. (authored by mprobst). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 304069 clang/lib/Format/FormatToken.h
clang/lib/Format/FormatTokenLexer.cpp
clang/unittests/Format/FormatTestJS.cpp
|