clang-format: [JS] Fix character counting in template strings.
authorDaniel Jasper <djasper@google.com>
Thu, 2 Jul 2015 13:08:28 +0000 (13:08 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 2 Jul 2015 13:08:28 +0000 (13:08 +0000)
commit553a5b00412c34e2b9101a993a6e7368a03fca68
tree86edf9300a08dad4477f5a1ffed6c5072e129360
parent9b869aa4a10c5392cb4d68f32a0acf8f635a7164
clang-format: [JS] Fix character counting in template strings.

Some counts were off, we don't need to take the leading newlines of the
first ` into account and some tests were just wrong.

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