Searched refs:ASTSelection (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | ASTSelectionRequirements.cpp | 34 Expected<SelectedASTNode> ASTSelection = local 36 if (!ASTSelection) 37 return ASTSelection.takeError(); 39 std::make_unique<SelectedASTNode>(std::move(*ASTSelection));
|
H A D | ASTSelection.cpp | 1 //===--- ASTSelection.cpp - Clang refactoring library ---------------------===// 9 #include "clang/Tooling/Refactoring/ASTSelection.h" 341 const SelectedASTNode &ASTSelection, 345 if (ASTSelection.Node.get<DeclStmt>()) { 348 for (const auto &Child : ASTSelection.Children) { 351 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); 356 if (!hasAnyDirectChildrenWithKind(ASTSelection, Kind)) { 359 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); 364 ParentStack.push_back(std::cref(ASTSelection)); 365 for (const auto &Child : ASTSelection 340 findDeepestWithKind( const SelectedASTNode &ASTSelection, llvm::SmallVectorImpl<SelectedNodeWithParents> &MatchingNodes, SourceSelectionKind Kind, llvm::SmallVectorImpl<SelectedASTNode::ReferenceType> &ParentStack) argument 370 findDeepestWithKind( const SelectedASTNode &ASTSelection, llvm::SmallVectorImpl<SelectedNodeWithParents> &MatchingNodes, SourceSelectionKind Kind) argument 379 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | ASTSelection.h | 1 //===--- ASTSelection.h - Clang refactoring library -----------------------===// 134 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection);
|
Completed in 168 milliseconds