]> granicus.if.org Git - clang/commit
Introduces the 'decl' matcher which was missing for a while
authorManuel Klimek <klimek@google.com>
Wed, 25 Jul 2012 10:02:02 +0000 (10:02 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 25 Jul 2012 10:02:02 +0000 (10:02 +0000)
commit715c9568ee5d75f25dab98229c87bcec880daf5d
tree23fbfb207a44f1ca3f06a3b05e7e5bd20bc555c2
parent310fe466761023874250a44cc9a5f56600c44f46
Introduces the 'decl' matcher which was missing for a while
and became necessary with the change to require BindableMatchers
for binding.

Also fixes PR 13445: "hasSourceExpression only works for implicit casts".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160716 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchers.h
unittests/ASTMatchers/ASTMatchersTest.cpp