Home
last modified time | relevance | path

Searched refs:DynNode (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp52 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,
72 static bool optionallyVariadicOperator(const DynTypedNode &DynNode,
112 const DynTypedNode &DynNode, ASTMatchFinder *Finder,
121 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, in dynMatches() argument
123 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches()
136 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, in dynMatches() argument
138 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches()
[all …]
H A DASTMatchFinder.cpp115 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()
131 else if (const auto *C = DynNode.get<CXXCtorInitializer>()) in findMatch()
134 DynNode.get<TemplateArgumentLoc>()) in findMatch()
823 void matchWithFilter(const DynTypedNode &DynNode) { in matchWithFilter() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h224 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,