Home
last modified time | relevance | path

Searched refs:RefactoringRuleContext (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DRefactoringActionRulesTest.cpp38 RefactoringRuleContext &Context) { in createReplacements()
67 initiate(RefactoringRuleContext &Cotnext, in TEST_F()
73 createSourceReplacements(RefactoringRuleContext &Context) { in TEST_F()
88 evaluate(RefactoringRuleContext &Context) const { in TEST_F()
101 RefactoringRuleContext RefContext(Context.Sources); in TEST_F()
133 RefactoringRuleContext RefContext(Context.Sources); in TEST_F()
150 static Expected<ErrorRule> initiate(RefactoringRuleContext &, in TEST_F() argument
156 Expected<AtomicChanges> createSourceReplacements(RefactoringRuleContext &) { in TEST_F() argument
164 RefactoringRuleContext RefContext(Context.Sources); in TEST_F()
179 RefactoringRuleContext &Context) { in findOccurrences()
[all …]
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DRefactoringActionRules.h55 RefactoringRuleContext &Context) final override { in invoke()
65 createSourceReplacements(RefactoringRuleContext &Context) = 0;
77 RefactoringRuleContext &Context) final override { in invoke()
87 findSymbolOccurrences(RefactoringRuleContext &Context) = 0;
DRefactoringActionRuleRequirements.h48 Expected<SourceRange> evaluate(RefactoringRuleContext &Context) const { in evaluate()
62 Expected<SelectedASTNode> evaluate(RefactoringRuleContext &Context) const;
77 evaluate(RefactoringRuleContext &Context) const;
106 evaluate(RefactoringRuleContext &) const { in evaluate() argument
DRefactoringActionRule.h22 class RefactoringRuleContext; variable
45 RefactoringRuleContext &Context) = 0;
DRefactoringRuleContext.h33 class RefactoringRuleContext {
35 RefactoringRuleContext(const SourceManager &SM) : SM(SM) {} in RefactoringRuleContext() function
DRefactoringActionRulesInternal.h48 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, in invokeRuleAfterValidatingRequirements()
131 RefactoringRuleContext &Context) override {
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
DRenamingAction.h51 static Expected<RenameOccurrences> initiate(RefactoringRuleContext &Context,
64 createSourceReplacements(RefactoringRuleContext &Context) override;
72 static Expected<QualifiedRenameRule> initiate(RefactoringRuleContext &Context,
84 createSourceReplacements(RefactoringRuleContext &Context) override;
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Extract/
DExtract.h27 static Expected<ExtractFunction> initiate(RefactoringRuleContext &Context,
39 createSourceReplacements(RefactoringRuleContext &Context) override;
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DRenamingAction.cpp46 findSymbolOccurrences(const NamedDecl *ND, RefactoringRuleContext &Context) { in findSymbolOccurrences()
66 RenameOccurrences::initiate(RefactoringRuleContext &Context, in initiate()
80 RenameOccurrences::createSourceReplacements(RefactoringRuleContext &Context) { in createSourceReplacements()
91 QualifiedRenameRule::initiate(RefactoringRuleContext &Context, in initiate()
137 QualifiedRenameRule::createSourceReplacements(RefactoringRuleContext &Context) { in createSourceReplacements()
/external/llvm-project/clang/lib/Tooling/Refactoring/
DASTSelectionRequirements.cpp16 ASTSelectionRequirement::evaluate(RefactoringRuleContext &Context) const { in evaluate()
32 RefactoringRuleContext &Context) const { in evaluate()
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DExtract.cpp69 ExtractFunction::initiate(RefactoringRuleContext &Context, in initiate()
99 ExtractFunction::createSourceReplacements(RefactoringRuleContext &Context) { in createSourceReplacements()
/external/llvm-project/clang/tools/clang-refactor/
DClangRefactor.cpp393 RefactoringRuleContext Context(AST.getSourceManager()); in callback()
519 const RefactoringRuleContext &Context) { in logInvocation()
/external/llvm-project/clang/docs/
DRefactoringEngine.rst125 createSourceReplacements(RefactoringRuleContext &Context) override {