]> granicus.if.org Git - clang/commit
clang-format: Fix false positive in cast detection.
authorDaniel Jasper <djasper@google.com>
Mon, 26 Oct 2015 12:08:47 +0000 (12:08 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 26 Oct 2015 12:08:47 +0000 (12:08 +0000)
commitafbad5d1371216aa534c89c72c8f17481b6771a7
tree6ec2f453d76c442db5063e8b7bd93ca33e96cae4
parent30f5c21dde2f76f5f7956ec54926f351c3d30ecc
clang-format: Fix false positive in cast detection.

Before (with spaces in parentheses):
  void inFunction() { std::function<void( int, int )> fct; }

After:
  void inFunction() { std::function<void( int, int)> fct; }

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