]> granicus.if.org Git - clang/commit
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)
commitd3859bc2da6c4578acf232bf948f91d4f3d3a926
tree90253dfa7b06918ac736be17fdef773ac8768839
parent0bdcca3c558def765d863b72b2919f7179ec3d84
clang-format: [TypeScript] Fix bug in handling of non-null operator.

Before:
  var i = x!-1;

After:
  var i = x! - 1;

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