]> granicus.if.org Git - clang/commit
clang-format: [JS] recognize exported type definitions.
authorMartin Probst <martin@probst.io>
Wed, 7 Jun 2017 12:53:22 +0000 (12:53 +0000)
committerMartin Probst <martin@probst.io>
Wed, 7 Jun 2017 12:53:22 +0000 (12:53 +0000)
commitce80f8d2fed284d2263624b629af13c0d47aff59
tree504947b1e6efcbb40dd3924e0760e80e709b4a1d
parent0a5e4c3b26f5f8b9e53b1e164974199bb2efb637
clang-format: [JS] recognize exported type definitions.

Summary: Support "export type T = {...};", in addition to just "type T = {...};".

Reviewers: klimek

Differential Revision: https://reviews.llvm.org/D33980

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestJS.cpp