Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp116 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()
128 else if (const QualType *Q = DynNode.get<QualType>()) in findMatch()
130 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch()
132 else if (const auto *C = DynNode.get<CXXCtorInitializer>()) in findMatch()
135 DynNode.get<TemplateArgumentLoc>()) in findMatch()
137 else if (const Attr *A = DynNode.get<Attr>()) in findMatch()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h220 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,
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp40 bool findMatch(const DynTypedNode &DynNode) { in findMatch() argument
42 if (const Stmt *StmtNode = DynNode.get<Stmt>()) { in findMatch()