Lines Matching refs:SelectedASTNode
32 Optional<SelectedASTNode>)>
39 Optional<SelectedASTNode>)> in SelectionFinderVisitor()
69 Optional<SelectedASTNode>)> in findSelectedASTNodesWithRange()
79 llvm::function_ref<void(Optional<SelectedASTNode>)> Consumer, in findSelectedASTNodes()
84 [&](SourceRange, Optional<SelectedASTNode> Selection) { in findSelectedASTNodes()
90 void checkNodeImpl(bool IsTypeMatched, const SelectedASTNode &Node, in checkNodeImpl()
97 void checkDeclName(const SelectedASTNode &Node, StringRef Name) { in checkDeclName()
104 const SelectedASTNode &checkNode( in checkNode()
105 const SelectedASTNode &StmtNode, SourceSelectionKind SelectionKind, in checkNode()
115 const SelectedASTNode &checkNode( in checkNode()
116 const SelectedASTNode &DeclNode, SourceSelectionKind SelectionKind, in checkNode()
128 const SelectedASTNode &Node;
130 static void childKindVerifier(const SelectedASTNode &Node, in childKindVerifier()
132 for (const SelectedASTNode &Child : Node.Children) { in childKindVerifier()
139 ForAllChildrenOf(const SelectedASTNode &Node) : Node(Node) {} in ForAllChildrenOf()
146 ForAllChildrenOf allChildrenOf(const SelectedASTNode &Node) { in allChildrenOf()
153 [](Optional<SelectedASTNode> Node) { EXPECT_FALSE(Node); }); in TEST()
158 "void f() { }", {1, 1}, None, [](Optional<SelectedASTNode> Node) { in TEST()
177 [](Optional<SelectedASTNode> Node) { EXPECT_FALSE(Node); }); in TEST()
180 [](Optional<SelectedASTNode> Node) { EXPECT_FALSE(Node); }); in TEST()
185 [](Optional<SelectedASTNode> Node) { in TEST()
200 [](Optional<SelectedASTNode> Node) { in TEST()
224 [](Optional<SelectedASTNode> Node) { in TEST()
240 [](Optional<SelectedASTNode> Node) { in TEST()
256 [](Optional<SelectedASTNode> Node) { in TEST()
280 auto SelectedF1F2 = [](Optional<SelectedASTNode> Node) { in TEST()
310 [](Optional<SelectedASTNode> Node) { in TEST()
331 [](Optional<SelectedASTNode> Node) { in TEST()
353 [](Optional<SelectedASTNode> Node) { in TEST()
401 [](Optional<SelectedASTNode> Node) { in TEST()
417 [](Optional<SelectedASTNode> Node) { in TEST()
433 [](Optional<SelectedASTNode> Node) { in TEST()
456 [](Optional<SelectedASTNode> Node) { in TEST()
483 [](Optional<SelectedASTNode> Node) { in TEST()
509 [](Optional<SelectedASTNode> Node) { in TEST()
529 [](Optional<SelectedASTNode> Node) { in TEST()
539 const SelectedASTNode &checkFnBody(const Optional<SelectedASTNode> &Node, in checkFnBody()
575 [](Optional<SelectedASTNode> Node) { in TEST()
596 [](Optional<SelectedASTNode> Node) { in TEST()
619 [](Optional<SelectedASTNode> Node) { in TEST()
642 [](Optional<SelectedASTNode> Node) { in TEST()
692 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
700 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
709 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
718 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
725 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
738 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
746 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
759 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
772 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
793 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
800 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
821 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
828 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
851 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
858 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
879 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
886 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
918 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
928 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
935 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
951 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
959 ArrayRef<SelectedASTNode::ReferenceType> Parents = in TEST()
983 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
995 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
1026 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
1037 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
1048 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()
1069 [](SourceRange SelectionRange, Optional<SelectedASTNode> Node) { in TEST()