[PATCH] D17440: clang-format: [JS] do not wrap ES6 imports/exports.

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 19 01:58:36 PST 2016


mprobst created this revision.
mprobst added a reviewer: djasper.
mprobst added subscribers: cfe-commits, klimek.

"import ... from '...';" and "export ... from '...';" should be treated the same
as goog.require/provide/module/forwardDeclare calls.

http://reviews.llvm.org/D17440

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17440.48465.patch
Type: text/x-patch
Size: 4831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160219/0053d99d/attachment.bin>


More information about the cfe-commits mailing list