| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A 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()
|
| H A 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() 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() 380 const SelectedASTNode &ASTSelection) { in create() argument [all …]
|
| H A D | CMakeLists.txt | 4 ASTSelection.cpp
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A 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()
|
| H A D | ExpandAutoType.cpp | 91 if (auto *Node = Inputs.ASTSelection.commonAncestor()) { in prepare() 138 Inputs.ASTSelection.commonAncestor()->getDeclContext()); in apply()
|
| H A D | AddUsing.cpp | 138 UsingFinder(Usings, &Inputs.ASTSelection.commonAncestor()->getDeclContext(), in findInsertionPoint() 181 &Inputs.ASTSelection.commonAncestor()->getDeclContext(); in findInsertionPoint() 244 auto *Node = Inputs.ASTSelection.commonAncestor(); in prepare()
|
| H A D | ObjCLocalizeStringLiteral.cpp | 49 const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in REGISTER_TWEAK()
|
| H A D | RawStringLiteral.cpp | 75 const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in prepare()
|
| H A D | ObjCMemberwiseInitializer.cpp | 197 const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in REGISTER_TWEAK() 267 const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in apply()
|
| H A D | SwapIfBranches.cpp | 51 for (const SelectionTree::Node *N = Inputs.ASTSelection.commonAncestor(); in REGISTER_TWEAK()
|
| H A D | AnnotateHighlightings.cpp | 41 for (auto *N = Inputs.ASTSelection.commonAncestor(); N && !CommonDecl; in REGISTER_TWEAK()
|
| H A D | SpecialMembers.cpp | 104 if (auto *N = Inputs.ASTSelection.commonAncestor()) in prepare()
|
| H A D | RemoveUsingNamespace.cpp | 106 auto *CA = Inputs.ASTSelection.commonAncestor(); in prepare()
|
| H A D | PopulateSwitch.cpp | 86 const SelectionTree::Node *CA = Sel.ASTSelection.commonAncestor(); in REGISTER_TWEAK()
|
| H A D | MemberwiseConstructor.cpp | 49 if (auto *N = Inputs.ASTSelection.commonAncestor()) in prepare()
|
| H A D | DefineOutline.cpp | 383 Source = getSelectedFunction(Sel.ASTSelection.commonAncestor()); in prepare()
|
| H A D | DefineInline.cpp | 400 const SelectionTree::Node *SelNode = Sel.ASTSelection.commonAncestor(); in prepare()
|
| H A D | ExtractVariable.cpp | 510 computeExtractedExpr(Inputs.ASTSelection.commonAncestor())) in REGISTER_TWEAK()
|
| H A D | ExtractFunction.cpp | 867 const Node *CommonAnc = Inputs.ASTSelection.commonAncestor(); in prepare()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Tweak.cpp | 63 SelectionTree ASTSelection, in Selection() argument 66 SelectionEnd(RangeEnd), ASTSelection(std::move(ASTSelection)), FS(FS) { in Selection()
|
| H A D | Tweak.h | 51 unsigned RangeEnd, SelectionTree ASTSelection, 67 SelectionTree ASTSelection; member
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Tooling/Refactoring/ |
| H A D | BUILD.gn | 17 "ASTSelection.cpp",
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/ |
| H A D | ASTSelection.h | 134 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection);
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 270 clang/include/clang/Tooling/Refactoring/ASTSelection.h 579 clang/lib/Tooling/Refactoring/ASTSelection.cpp
|