Searched refs:DynNode (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 52 static bool notUnaryOperator(const DynTypedNode &DynNode, 57 static bool allOfVariadicOperator(const DynTypedNode &DynNode, 62 static bool eachOfVariadicOperator(const DynTypedNode &DynNode, 67 static bool anyOfVariadicOperator(const DynTypedNode &DynNode, 112 const DynTypedNode &DynNode, ASTMatchFinder *Finder, 123 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches() 139 if (Result) Builder->setBinding(ID, DynNode); in dynMatches() 286 bool DynTypedMatcher::matches(const DynTypedNode &DynNode, in matches() argument 365 static bool notUnaryOperator(const DynTypedNode &DynNode, in notUnaryOperator() argument 421 if (InnerMatcher.matches(DynNode, Finder, &Result)) { in anyOfVariadicOperator() [all …]
|
| H A D | ASTMatchFinder.cpp | 115 bool findMatch(const DynTypedNode &DynNode) { in findMatch() argument 117 if (const Decl *D = DynNode.get<Decl>()) in findMatch() 119 else if (const Stmt *S = DynNode.get<Stmt>()) in findMatch() 122 DynNode.get<NestedNameSpecifier>()) in findMatch() 125 DynNode.get<NestedNameSpecifierLoc>()) in findMatch() 127 else if (const QualType *Q = DynNode.get<QualType>()) in findMatch() 129 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch() 134 DynNode.get<TemplateArgumentLoc>()) in findMatch() 823 void matchWithFilter(const DynTypedNode &DynNode) { in matchWithFilter() argument 824 auto Kind = DynNode.getNodeKind(); in matchWithFilter() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 224 void addNode(StringRef ID, const DynTypedNode &DynNode) { 225 NodeMap[std::string(ID)] = DynNode; 298 void setBinding(StringRef Id, const DynTypedNode &DynNode) { 302 Binding.addNode(Id, DynNode); 355 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 381 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 383 return matches(DynNode.getUnchecked<T>(), Finder, Builder); 478 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 485 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
|