Searched refs:DynNode (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 51 static bool notUnaryOperator(const DynTypedNode &DynNode, 56 static bool allOfVariadicOperator(const DynTypedNode &DynNode, 61 static bool eachOfVariadicOperator(const DynTypedNode &DynNode, 66 static bool anyOfVariadicOperator(const DynTypedNode &DynNode, 71 static bool optionallyVariadicOperator(const DynTypedNode &DynNode, 111 const DynTypedNode &DynNode, ASTMatchFinder *Finder, 120 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, in dynMatches() argument 122 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches() 135 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, in dynMatches() argument 137 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches() [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() 130 else if (const QualType *Q = DynNode.get<QualType>()) in findMatch() 132 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch() 134 else if (const auto *C = DynNode.get<CXXCtorInitializer>()) in findMatch() 137 DynNode.get<TemplateArgumentLoc>()) in findMatch() 139 else if (const Attr *A = DynNode.get<Attr>()) in findMatch() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 219 void addNode(StringRef ID, const DynTypedNode &DynNode) { 220 NodeMap[std::string(ID)] = DynNode; 293 void setBinding(StringRef Id, const DynTypedNode &DynNode) { 297 Binding.addNode(Id, DynNode); 349 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 375 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 377 return matches(DynNode.getUnchecked<T>(), Finder, Builder); 472 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, 479 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 95 virtual bool matches(const DynTypedNode &DynNode, ASTContext &Ctx, 141 bool findMatch(const DynTypedNode &DynNode) { in findMatch() argument 143 if (const Stmt *StmtNode = DynNode.get<Stmt>()) { in findMatch() 2441 bool matches(const DynTypedNode &DynNode, ASTContext &Ctx, in matches() argument 2443 const Stmt *S = DynNode.get<Stmt>(); in matches() 2475 bool matches(const DynTypedNode &DynNode, ASTContext &Ctx, in matches() argument 2478 const Stmt *S = DynNode.get<Stmt>(); in matches()
|