Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp342 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument
346 if (ASTSelection.Node.get<DeclStmt>()) { in findDeepestWithKind()
349 for (const auto &Child : ASTSelection.Children) { in findDeepestWithKind()
352 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
357 if (!hasAnyDirectChildrenWithKind(ASTSelection, Kind)) { in findDeepestWithKind()
360 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
365 ParentStack.push_back(std::cref(ASTSelection)); in findDeepestWithKind()
366 for (const auto &Child : ASTSelection.Children) in findDeepestWithKind()
372 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument
376 findDeepestWithKind(ASTSelection, MatchingNodes, Kind, ParentStack); in findDeepestWithKind()
[all …]
H A DASTSelectionRequirements.cpp35 Expected<SelectedASTNode> ASTSelection = in evaluate() local
37 if (!ASTSelection) in evaluate()
38 return ASTSelection.takeError(); in evaluate()
40 std::make_unique<SelectedASTNode>(std::move(*ASTSelection)); in evaluate()
/freebsd-src/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h135 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection);