]> granicus.if.org Git - clang/commit
[ASTMatchers] Introduce a matcher for `ObjCIvarExpr`, support getting it's declaration
authorGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 27 Jul 2018 17:40:59 +0000 (17:40 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 27 Jul 2018 17:40:59 +0000 (17:40 +0000)
commit8ac9d0b254a50f7418a1e82d9c2f140edd06334d
tree982a794d3265c67d6c0cee7ab468eba1a0bbba2f
parent3d38d9f1f0abbc8f2279786a736712b6e8889272
[ASTMatchers] Introduce a matcher for `ObjCIvarExpr`, support getting it's declaration

ObjCIvarExpr is *not* a subclass of MemberExpr, and a separate matcher
is required to support it.
Adding a hasDeclaration support as well, as it's not very useful without
it.

Differential Revision: https://reviews.llvm.org/D49701

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