Searched refs:ASTSelection (Results 1 – 20 of 20) sorted by relevance
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | ASTSelectionRequirements.cpp | 34 Expected<SelectedASTNode> ASTSelection = in evaluate() local 36 if (!ASTSelection) in evaluate() 37 return ASTSelection.takeError(); in evaluate() 39 std::make_unique<SelectedASTNode>(std::move(*ASTSelection)); in evaluate()
|
D | ASTSelection.cpp | 341 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument 345 if (ASTSelection.Node.get<DeclStmt>()) { in findDeepestWithKind() 348 for (const auto &Child : ASTSelection.Children) { in findDeepestWithKind() 351 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind() 356 if (!hasAnyDirectChildrenWithKind(ASTSelection, Kind)) { in findDeepestWithKind() 359 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind() 364 ParentStack.push_back(std::cref(ASTSelection)); in findDeepestWithKind() 365 for (const auto &Child : ASTSelection.Children) in findDeepestWithKind() 371 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument 375 findDeepestWithKind(ASTSelection, MatchingNodes, Kind, ParentStack); in findDeepestWithKind() [all …]
|
D | CMakeLists.txt | 4 ASTSelection.cpp
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Tweak.cpp | 50 SelectionTree ASTSelection) in Selection() argument 52 SelectionEnd(RangeEnd), ASTSelection(std::move(ASTSelection)) { in Selection()
|
D | Tweak.h | 51 unsigned RangeEnd, SelectionTree ASTSelection); 66 SelectionTree ASTSelection; member
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DumpAST.cpp | 37 for (auto N = Inputs.ASTSelection.commonAncestor(); N && !Node; in prepare() 91 return Effect::showMessage(llvm::to_string(Inputs.ASTSelection)); in apply() 139 if (auto *Node = Inputs.ASTSelection.commonAncestor()) in prepare()
|
D | ExpandAutoType.cpp | 87 if (auto *Node = Inputs.ASTSelection.commonAncestor()) { in prepare() 126 Inputs.ASTSelection.commonAncestor()->getDeclContext()); in apply()
|
D | AddUsing.cpp | 136 UsingFinder(Usings, &Inputs.ASTSelection.commonAncestor()->getDeclContext(), in findInsertionPoint() 179 &Inputs.ASTSelection.commonAncestor()->getDeclContext(); in findInsertionPoint() 242 auto *Node = Inputs.ASTSelection.commonAncestor(); in prepare()
|
D | ObjCLocalizeStringLiteral.cpp | 53 const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in REGISTER_TWEAK()
|
D | AnnotateHighlightings.cpp | 40 for (auto N = Inputs.ASTSelection.commonAncestor(); N && !CommonDecl; in REGISTER_TWEAK()
|
D | RawStringLiteral.cpp | 83 const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in prepare()
|
D | SwapIfBranches.cpp | 54 for (const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in REGISTER_TWEAK()
|
D | RemoveUsingNamespace.cpp | 109 auto *CA = Inputs.ASTSelection.commonAncestor(); in prepare()
|
D | PopulateSwitch.cpp | 87 const SelectionTree::Node *CA = Sel.ASTSelection.commonAncestor(); in REGISTER_TWEAK()
|
D | DefineOutline.cpp | 374 Source = getSelectedFunction(Sel.ASTSelection.commonAncestor()); in prepare()
|
D | DefineInline.cpp | 407 const SelectionTree::Node *SelNode = Sel.ASTSelection.commonAncestor(); in prepare()
|
D | ExtractVariable.cpp | 471 computeExtractedExpr(Inputs.ASTSelection.commonAncestor())) in REGISTER_TWEAK()
|
D | ExtractFunction.cpp | 736 const Node *CommonAnc = Inputs.ASTSelection.commonAncestor(); in prepare()
|
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Tooling/Refactoring/ |
D | BUILD.gn | 17 "ASTSelection.cpp",
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | ASTSelection.h | 134 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection);
|