]> granicus.if.org Git - clang/commit
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)
commit80197c36b2df22b4605c7621c6dcdd5e5fbf7bff
tree2c7f74909245a0a823eceba76848105c03b85b28
parent6b41e0a3104cbc911323f5349bbc39ca8988e1b4
clang-format: Fix incorrect function annotation detection.

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

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

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