]> granicus.if.org Git - clang/commit
clang-format: Fix incorrect calculation of token lenghts.
authorDaniel Jasper <djasper@google.com>
Wed, 17 Dec 2014 09:11:08 +0000 (09:11 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 17 Dec 2014 09:11:08 +0000 (09:11 +0000)
commit666557c0af578402d4372768452bfb2ac4bf4f1b
treec33286d7099dfaba1f06cbc9e51ca7ce2f3b633f
parent65c422ad3f0e74a95af524bab4bd98eb10615025
clang-format: Fix incorrect calculation of token lenghts.

This led, e.g. to break JavaScript regex literals too early.

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