clang-format: [JS] supports casts to types starting with punctuation ("{[(").
authorMartin Probst <martin@probst.io>
Mon, 22 Aug 2016 14:23:30 +0000 (14:23 +0000)
committerMartin Probst <martin@probst.io>
Mon, 22 Aug 2016 14:23:30 +0000 (14:23 +0000)
commited87d788d610063e7c6e74a12565001ce77a0d73
treeafa195e548a9a8efb992fb0583b860671adadf72
parent13fa33012b93c2c824ddf864c70ebff41a378a6d
clang-format: [JS] supports casts to types starting with punctuation ("{[(").

Before:

    x as{x: number}

After:

    x as {x: number}

Reviewers: djasper

Subscribers: klimek, cfe-commits

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

llvm-svn: 279436
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestJS.cpp