Home
last modified time | relevance | path

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

/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp23 bool NotUnaryOperator(const ast_type_traits::DynTypedNode DynNode,
27 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode DynNode,
32 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode DynNode,
37 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode DynNode,
54 const ast_type_traits::DynTypedNode DynNode, ASTMatchFinder *Finder,
63 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument
66 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches()
79 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument
82 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches()
83 if (Result) Builder->setBinding(ID, DynNode); in dynMatches()
[all …]
DASTMatchFinder.cpp113 bool findMatch(const ast_type_traits::DynTypedNode &DynNode) { in findMatch() argument
115 if (const Decl *D = DynNode.get<Decl>()) in findMatch()
117 else if (const Stmt *S = DynNode.get<Stmt>()) in findMatch()
120 DynNode.get<NestedNameSpecifier>()) in findMatch()
123 DynNode.get<NestedNameSpecifierLoc>()) in findMatch()
125 else if (const QualType *Q = DynNode.get<QualType>()) in findMatch()
127 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) in findMatch()
541 void matchWithFilter(const ast_type_traits::DynTypedNode &DynNode) { in matchWithFilter() argument
542 auto Kind = DynNode.getNodeKind(); in matchWithFilter()
558 if (MP.first.matchesNoKindCheck(DynNode, this, &Builder)) { in matchWithFilter()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h68 void addNode(StringRef ID, const ast_type_traits::DynTypedNode& DynNode) { in addNode() argument
69 NodeMap[ID] = DynNode; in addNode()
143 const ast_type_traits::DynTypedNode &DynNode) { in setBinding() argument
147 Binding.addNode(Id, DynNode); in setBinding()
197 virtual bool dynMatches(const ast_type_traits::DynTypedNode &DynNode,
222 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument
225 return matches(DynNode.getUnchecked<T>(), Finder, Builder); in dynMatches()
303 bool matches(const ast_type_traits::DynTypedNode &DynNode,
310 bool matchesNoKindCheck(const ast_type_traits::DynTypedNode &DynNode,