]> granicus.if.org Git - clang/commit
clang-format: Fix incorrect macro call detection.
authorDaniel Jasper <djasper@google.com>
Wed, 21 May 2014 13:08:17 +0000 (13:08 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 21 May 2014 13:08:17 +0000 (13:08 +0000)
commitba2156840cb45e707ac25057a6ec19044754475c
tree14910f621b195dac4e97b67f16db1c1818c63e0c
parentc890573f2c2e042f1c585f925fc9a4edd1123662
clang-format: Fix incorrect macro call detection.

In:
  struct A {
    A()
        noexcept(....) {}
  };

'A()' is not a macro call.
This fixes llvm.org/PR19814.

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