Searched refs:DynNode (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 23 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode, 27 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 32 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 37 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 54 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, 63 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument 66 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches() 79 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument 82 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches() 83 if (Result) Builder->setBinding(ID, DynNode); in dynMatches() [all …]
|
D | ASTMatchFinder.cpp | 113 bool findMatch(const ast_type_traits::DynTypedNode &DynNode) { in findMatch() argument 115 if (const Decl *D = DynNode.get<Decl>()) in findMatch() 117 else if (const Stmt *S = DynNode.get<Stmt>()) in findMatch() 120 DynNode.get<NestedNameSpecifier>()) in findMatch() 123 DynNode.get<NestedNameSpecifierLoc>()) in findMatch() 125 else if (const QualType *Q = DynNode.get<QualType>()) in findMatch() 127 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch() 535 void matchWithFilter(const ast_type_traits::DynTypedNode &DynNode) { in matchWithFilter() argument 536 auto Kind = DynNode.getNodeKind(); in matchWithFilter() 552 if (MP.first.matchesNoKindCheck(DynNode, this, &Builder)) { in matchWithFilter()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 69 void addNode(StringRef ID, const ast_type_traits::DynTypedNode& DynNode) { in addNode() argument 70 NodeMap[ID] = DynNode; in addNode() 143 void setBinding(StringRef Id, const ast_type_traits::DynTypedNode &DynNode) { in setBinding() argument 147 Binding.addNode(Id, DynNode); in setBinding() 200 virtual bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, 223 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument 226 return matches(DynNode.getUnchecked<T>(), Finder, Builder); in dynMatches() 305 bool matches(const ast_type_traits::DynTypedNode &DynNode, 312 bool matchesNoKindCheck(const ast_type_traits::DynTypedNode &DynNode,
|