]> granicus.if.org Git - clang/commit
Add partial support for the hasDeclaration() matcher in the dynamic layer.
authorSamuel Benzaquen <sbenza@google.com>
Mon, 18 Nov 2013 14:53:42 +0000 (14:53 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Mon, 18 Nov 2013 14:53:42 +0000 (14:53 +0000)
commit6c1dc7870f457803a9b256ed868da82532be820b
tree19f9a221feeaa6e4a82f81506389a96716349544
parent762e567ee54171662111534108aebf8f1c0b303c
Add partial support for the hasDeclaration() matcher in the dynamic layer.

Summary:
Add partial support for the hasDeclaration() matcher in the dynamic layer.
This matcher has some special logic to allow any type that has a getDecl() method.  We do not support this right now.

Reviewers: klimek

CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1889

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195013 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LibASTMatchersReference.html
docs/tools/dump_ast_matchers.py
include/clang/ASTMatchers/ASTMatchers.h
include/clang/ASTMatchers/ASTMatchersInternal.h
include/clang/ASTMatchers/ASTMatchersMacros.h
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp