Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp343 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument
347 if (ASTSelection.Node.get<DeclStmt>()) { in findDeepestWithKind()
350 for (const auto &Child : ASTSelection.Children) { in findDeepestWithKind()
358 if (!hasAnyDirectChildrenWithKind(ASTSelection, Kind)) { in findDeepestWithKind()
361 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
366 ParentStack.push_back(std::cref(ASTSelection)); in findDeepestWithKind()
367 for (const auto &Child : ASTSelection.Children) in findDeepestWithKind()
373 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument
377 findDeepestWithKind(ASTSelection, MatchingNodes, Kind, ParentStack); in findDeepestWithKind()
382 const SelectedASTNode &ASTSelection) { in create() argument
[all …]
H A DASTSelectionRequirements.cpp34 Expected<SelectedASTNode> ASTSelection = in evaluate() local
36 if (!ASTSelection) in evaluate()
37 return ASTSelection.takeError(); in evaluate()
39 llvm::make_unique<SelectedASTNode>(std::move(*ASTSelection)); in evaluate()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h134 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection);