clang-format: [TypeScript] Fix bug in handling of non-null operator.
authorDaniel Jasper <djasper@google.com>
Wed, 9 Nov 2016 14:12:55 +0000 (14:12 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 9 Nov 2016 14:12:55 +0000 (14:12 +0000)
commit8315ea16135fbc816214c6327a7db01216fa5e32
tree9faa5be14b736bf9df36ab9fd59bf7274c8b0e55
parent3dc342eb0c8bf5ba512a771add6d934b317c4941
clang-format: [TypeScript] Fix bug in handling of non-null operator.

Before:
  var i = x!-1;

After:
  var i = x! - 1;

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