]> granicus.if.org Git - clang/commit
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)
commitb73f25667c9dfb5cf9a136b83c5ddfd9b03668fd
treef998b84d0b9626bd454f660a7b77e7fc4306dd44
parenta8245d8fe2d5228413d2e5ae23e4a036e0072c70
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.

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