Searched refs:DynNode (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 24 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode, 28 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 33 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 38 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, 55 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, 64 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument 67 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches() 80 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument 83 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches() 84 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 | 126 void addNode(StringRef ID, const ast_type_traits::DynTypedNode& DynNode) { in addNode() argument 127 NodeMap[ID] = DynNode; in addNode() 200 void setBinding(StringRef Id, const ast_type_traits::DynTypedNode &DynNode) { in setBinding() argument 204 Binding.addNode(Id, DynNode); in setBinding() 257 virtual bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, 280 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument 283 return matches(DynNode.getUnchecked<T>(), Finder, Builder); in dynMatches() 362 bool matches(const ast_type_traits::DynTypedNode &DynNode, 369 bool matchesNoKindCheck(const ast_type_traits::DynTypedNode &DynNode,
|