Searched refs:DynNode (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/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 366 static bool notUnaryOperator(const DynTypedNode &DynNode, in notUnaryOperator() argument 422 if (InnerMatcher.matches(DynNode, Finder, &Result)) { in anyOfVariadicOperator() [all …]
|
| H A D | ASTMatchFinder.cpp | 118 bool findMatch(const DynTypedNode &DynNode) { in findMatch() argument 120 if (const Decl *D = DynNode.get<Decl>()) in findMatch() 122 else if (const Stmt *S = DynNode.get<Stmt>()) in findMatch() 125 DynNode.get<NestedNameSpecifier>()) in findMatch() 128 DynNode.get<NestedNameSpecifierLoc>()) in findMatch() 132 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch() 137 DynNode.get<TemplateArgumentLoc>()) in findMatch() 139 else if (const Attr *A = DynNode.get<Attr>()) in findMatch() 1039 auto Kind = DynNode.getNodeKind(); in matchWithFilter() 1059 DynNode) in matchWithFilter() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 220 void addNode(StringRef ID, const DynTypedNode &DynNode) { 221 NodeMap[std::string(ID)] = DynNode; 294 void setBinding(StringRef Id, const DynTypedNode &DynNode) { 298 Binding.addNode(Id, DynNode); 350 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 376 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 378 return matches(DynNode.getUnchecked<T>(), Finder, Builder); 473 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 480 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 94 bool findMatch(const DynTypedNode &DynNode) { in findMatch() argument 96 if (const Stmt *StmtNode = DynNode.get<Stmt>()) { in findMatch()
|