[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)
commit42b76e8232b5cd331bbb5b66ac7d40cac66c23f1
treeb0c3ecb628db6d9f1abfbd71468c18ec2f01f39b
parent2f5b2671da60692da9dc4593d81456d19ceac145
[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

llvm-svn: 338140
clang/include/clang/ASTMatchers/ASTMatchersInternal.h