Searched refs:DynNode (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/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 | 116 bool findMatch(const DynTypedNode &DynNode) { in findMatch() argument 118 if (const Decl *D = DynNode.get<Decl>()) in findMatch() 120 else if (const Stmt *S = DynNode.get<Stmt>()) in findMatch() 123 DynNode.get<NestedNameSpecifier>()) in findMatch() 126 DynNode.get<NestedNameSpecifierLoc>()) in findMatch() 130 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch() 135 DynNode.get<TemplateArgumentLoc>()) in findMatch() 137 else if (const Attr *A = DynNode.get<Attr>()) in findMatch() 1028 auto Kind = DynNode.getNodeKind(); in matchWithFilter() 1048 DynNode) in matchWithFilter() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 221 void addNode(StringRef ID, const DynTypedNode &DynNode) { 222 NodeMap[std::string(ID)] = DynNode; 295 void setBinding(StringRef Id, const DynTypedNode &DynNode) { 299 Binding.addNode(Id, DynNode); 351 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 377 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 379 return matches(DynNode.getUnchecked<T>(), Finder, Builder); 474 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 481 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
|