]> granicus.if.org Git - clang/commit
clang-format: Fix bug in escaped newline calculation.
authorDaniel Jasper <djasper@google.com>
Sun, 10 May 2015 08:00:25 +0000 (08:00 +0000)
committerDaniel Jasper <djasper@google.com>
Sun, 10 May 2015 08:00:25 +0000 (08:00 +0000)
commit9fb893e047ef9de217c3a6263ec0d66684f0cced
treed7a3cd3cbf5d2b2729b0fe95960e220381480fd8
parenteedbff6b679d9db2e7c1344ee704df2b71469e79
clang-format: Fix bug in escaped newline calculation.

This prevents clang-format from inadvertently joining stuff into macro
definitions as reported in llvm.org/PR23466.

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