Searched refs:BoundNodes (Results 1 - 8 of 8) sorted by relevance

/external/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h73 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
78 const BoundNodes Nodes;
119 /// Calls 'Action' with the BoundNodes on every match.
188 /// Collects the \c BoundNodes of all callback invocations when matching
197 SmallVector<BoundNodes, 1>
201 SmallVector<BoundNodes, 1>
218 selectFirst(StringRef BoundTo, const SmallVectorImpl<BoundNodes> &Results) {
219 for (SmallVectorImpl<BoundNodes>::const_iterator I = Results.begin(),
234 SmallVector<BoundNodes, 1> Nodes;
239 SmallVector<BoundNodes,
[all...]
H A DASTMatchers.h30 // be called with a BoundNodes instance that contains a mapping from the
64 /// The instances of BoundNodes are created by \c MatchFinder when the user's
66 class BoundNodes { class in namespace:clang::ast_matchers
100 /// \brief Create BoundNodes from a pre-filled map of bindings.
101 BoundNodes(internal::BoundNodesMap &MyBoundNodes) function in class:clang::ast_matchers::BoundNodes
H A DASTMatchersInternal.h54 class BoundNodes;
58 /// \brief Internal version of BoundNodes. Holds all the bound nodes.
116 /// \brief A visitor interface to visit all BoundNodes results for a
125 virtual void visitMatch(const BoundNodes& BoundNodesView) = 0;
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.h29 virtual bool run(const BoundNodes *BoundNodes) = 0;
30 virtual bool run(const BoundNodes *BoundNodes, ASTContext *Context) = 0;
H A DASTMatchersTest.cpp646 // Implements a run method that returns whether BoundNodes contains a
684 virtual bool run(const BoundNodes *Nodes) {
685 const BoundNodes::IDToNodeMap &M = Nodes->getMap();
695 BoundNodes::IDToNodeMap::const_iterator I = M.find(Id);
706 virtual bool run(const BoundNodes *Nodes, ASTContext *Context) {
3640 bool run(const BoundNodes *Nodes) override { return false; }
3641 bool run(const BoundNodes *Nodes, ASTContext *Context) override {
4148 virtual bool run(const BoundNodes *Nodes) { return false; }
4150 virtual bool run(const BoundNodes *Nodes, ASTContext *Context) {
4199 virtual bool run(const BoundNodes *Node
[all...]
/external/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp25 ResultVisitor->visitMatch(BoundNodes(Bindings[i]));
H A DASTMatchFinder.cpp58 BoundNodesTreeBuilder BoundNodes; member in struct:clang::ast_matchers::internal::__anon17765::MatchKey
61 return std::tie(MatcherID, Node, BoundNodes) <
62 std::tie(Other.MatcherID, Other.Node, Other.BoundNodes);
383 Key.BoundNodes = *Builder;
508 Key.BoundNodes = *Builder;
576 void visitMatch(const BoundNodes& BoundNodesView) override {
760 MatchFinder::MatchResult::MatchResult(const BoundNodes &Nodes,
/external/clang/unittests/AST/
H A DMatchVerifier.h131 BoundNodes::IDToNodeMap M = Result.Nodes.getMap();
132 BoundNodes::IDToNodeMap::const_iterator I = M.find("");

Completed in 219 milliseconds