]> granicus.if.org Git - clang/commit
clang-format: Fix bad variable declaration detection.
authorDaniel Jasper <djasper@google.com>
Tue, 7 Feb 2017 21:38:16 +0000 (21:38 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 7 Feb 2017 21:38:16 +0000 (21:38 +0000)
commitbe03699f3b536a2aa8dea92603870e9f09b1c0f2
tree3446fb9b68135f9bc5f558d3e90635a71c2529ad
parent33ec213b80bc8a48e529abb59173be6855808a77
clang-format: Fix bad variable declaration detection.

Before:
  LooooooooooooooooongType
  variable(nullptr, [](A *a) {});

After:
  LooooooooooooooooongType
      variable(nullptr, [](A *a) {});

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