[PATCH] D26274: clang-format: [JS] do not break after declare namespace.

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 3 03:37:19 PDT 2016


mprobst created this revision.
mprobst added a reviewer: djasper.
mprobst added a subscriber: cfe-commits.
Herald added a subscriber: klimek.

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.


https://reviews.llvm.org/D26274

Files:
  lib/Format/FormatToken.h
  lib/Format/TokenAnnotator.cpp
  lib/Format/UnwrappedLineParser.cpp
  unittests/Format/FormatTestJS.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26274.76830.patch
Type: text/x-patch
Size: 5808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161103/902f0718/attachment.bin>


More information about the cfe-commits mailing list