Searched refs:SourceSelectionKind (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang/unittests/Tooling/ |
D | ASTSelectionTest.cpp | 91 SourceSelectionKind SelectionKind, unsigned NumChildren) { in checkNodeImpl() 105 const SelectedASTNode &StmtNode, SourceSelectionKind SelectionKind, in checkNode() 116 const SelectedASTNode &DeclNode, SourceSelectionKind SelectionKind, in checkNode() 131 SourceSelectionKind SelectionKind) { in childKindVerifier() 141 void shouldHaveSelectionKind(SourceSelectionKind Kind) { in shouldHaveSelectionKind() 160 checkNode<TranslationUnitDecl>(*Node, SourceSelectionKind::None, in TEST() 163 SourceSelectionKind::ContainsSelection, in TEST() 189 SourceSelectionKind::ContainsSelection, in TEST() 204 Node->Children[0], SourceSelectionKind::ContainsSelection, in TEST() 207 SourceSelectionKind::InsideSelection); in TEST() [all …]
|
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | ASTSelection.cpp | 50 SourceSelectionKind::None)); in ASTSelectionFinder() 94 SourceSelectionKind SelectionKind = in TraverseDecl() 122 SourceSelectionKind SelectionKind = in TraverseStmt() 132 void popAndAddToSelectionIfSelected(SourceSelectionKind SelectionKind) { in popAndAddToSelectionIfSelected() 135 if (SelectionKind != SourceSelectionKind::None || !Node.Children.empty()) in popAndAddToSelectionIfSelected() 139 SourceSelectionKind selectionKindFor(CharSourceRange Range) { in selectionKindFor() 145 return SourceSelectionKind::None; in selectionKindFor() 149 return SourceSelectionKind::ContainsSelection; in selectionKindFor() 150 return SourceSelectionKind::None; in selectionKindFor() 155 return SourceSelectionKind::ContainsSelection; in selectionKindFor() [all …]
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | ASTSelection.h | 25 enum class SourceSelectionKind { enum 53 SourceSelectionKind SelectionKind; 56 SelectedASTNode(const DynTypedNode &Node, SourceSelectionKind SelectionKind) in SelectedASTNode()
|