]> granicus.if.org Git - clang/commit
clang-format: Fix false positive in lambda detection.
authorDaniel Jasper <djasper@google.com>
Sun, 2 Nov 2014 22:46:42 +0000 (22:46 +0000)
committerDaniel Jasper <djasper@google.com>
Sun, 2 Nov 2014 22:46:42 +0000 (22:46 +0000)
commit932a3713130763ed82e2bb0b3dfacc8654a21af9
tree3aaa00baa825b688a79fe2d5cfef1620272df0d3
parent7909991216e90e2dc7e0c72952f7d0fd94e9aac0
clang-format: Fix false positive in lambda detection.

Before:
  delete [] a -> b;

After:
  delete[] a->b;

This fixes part of llvm.org/PR21419.

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