Home
last modified time | relevance | path

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

/src/contrib/llvm-project/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.cpp118 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 …]
/src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h216 void addNode(StringRef ID, const DynTypedNode &DynNode) {
217 NodeMap[std::string(ID)] = DynNode;
290 void setBinding(StringRef Id, const DynTypedNode &DynNode) {
294 Binding.addNode(Id, DynNode);
346 virtual bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
372 bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
374 return matches(DynNode.getUnchecked<T>(), Finder, Builder);
469 bool matches(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
476 bool matchesNoKindCheck(const DynTypedNode &DynNode, ASTMatchFinder *Finder,
/src/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp102 bool findMatch(const DynTypedNode &DynNode) { in findMatch() argument
104 if (const Stmt *StmtNode = DynNode.get<Stmt>()) { in findMatch()