See TypeScript grammar for tokens following 'declare':
https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#A.10
Additional minor change:
clang-format: [JS] Prevent ASI before const.
Paths
| Differential D26274
clang-format: [JS] do not break after declare namespace. ClosedPublic Authored by mprobst on Nov 3 2016, 3:37 AM.
Details Summary See TypeScript grammar for tokens following 'declare': Additional minor change:
Diff Detail
Event Timelinemprobst updated this object. This revision is now accepted and ready to land.Nov 10 2016, 8:25 AM Closed by commit rL286468: clang-format: [JS] do not break after declare namespace. (authored by mprobst). · Explain WhyNov 10 2016, 8:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 76830 lib/Format/FormatToken.h
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJS.cpp
|