clang-format: Fix incorrect function annotation detection.
authorDaniel Jasper <djasper@google.com>
Wed, 6 Apr 2016 13:58:09 +0000 (13:58 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 6 Apr 2016 13:58:09 +0000 (13:58 +0000)
commit19bc1d007a205b47f370abdc144d8c67ab58b792
tree625a4896e1d26c4728f87241770bce18651af43e
parent500846c2830660d1e4c2becda1921583b2fe373b
clang-format: Fix incorrect function annotation detection.

Before:
  MACRO(
      abc).function() // wrap
      << abc;

After:
  MACRO(abc).function() // wrap
      << abc;

llvm-svn: 265540
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp