]> granicus.if.org Git - clang/commit
Fix completion logic to allow for heterogeneous argument types in matcher overloads.
authorSamuel Benzaquen <sbenza@google.com>
Thu, 9 Oct 2014 22:08:52 +0000 (22:08 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Thu, 9 Oct 2014 22:08:52 +0000 (22:08 +0000)
commit768b9300b5549a0d1a0ecb670c6e1d21d42cf9f7
treee1f088320130bfe0029b59142d1815bc7eec6de0
parent5d0bde8b47fb354c81cb8c6dcced45f253ec0a71
Fix completion logic to allow for heterogeneous argument types in matcher overloads.

Summary:
There was an assumption that there were no matchers that were overloaded
on matchers and other types of arguments.
This assumption was broken recently with the addition of new matcher
overloads.

Fixes http://llvm.org/PR21226

Reviewers: pcc

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D5711

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219450 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp