Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/Tooling/
DRefactoringActionRulesTest.cpp36 Expected<AtomicChanges>
42 void handle(AtomicChanges SourceReplacements) override { in createReplacements()
50 Optional<Expected<AtomicChanges>> Result; in createReplacements()
72 Expected<AtomicChanges> in TEST_F()
81 return AtomicChanges{Change}; in TEST_F()
107 Expected<AtomicChanges> ErrorOrResult = in TEST_F()
110 AtomicChanges Result = std::move(*ErrorOrResult); in TEST_F()
134 Expected<AtomicChanges> ErrorOrResult = in TEST_F()
156 Expected<AtomicChanges> createSourceReplacements(RefactoringRuleContext &) { in TEST_F()
168 Expected<AtomicChanges> Result = createReplacements(Rule, RefContext); in TEST_F()
[all …]
DTransformerTest.cpp156 AtomicChanges Changes;
/external/llvm-project/clang/tools/clang-refactor/
DTestSupport.cpp69 void dumpChanges(const tooling::AtomicChanges &Changes, raw_ostream &OS) { in dumpChanges()
74 bool areChangesSame(const tooling::AtomicChanges &LHS, in areChangesSame()
75 const tooling::AtomicChanges &RHS) { in areChangesSame()
85 bool printRewrittenSources(const tooling::AtomicChanges &Changes, in printRewrittenSources()
131 void handle(tooling::AtomicChanges Changes) override { in handle()
142 void handleResult(Expected<tooling::AtomicChanges> Result) { in handleResult()
158 std::vector<std::vector<Expected<tooling::AtomicChanges>>> Results;
180 Optional<tooling::AtomicChanges> CanonicalResult; in handleAllResults()
183 Expected<tooling::AtomicChanges> &Result = I.value(); in handleAllResults()
DClangRefactor.cpp316 ClangRefactorConsumer(AtomicChanges &Changes) : SourceChanges(&Changes) {} in ClangRefactorConsumer()
330 void handle(AtomicChanges Changes) override { in handle()
340 AtomicChanges *SourceChanges;
604 AtomicChanges Changes;
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DRenamingAction.cpp79 Expected<AtomicChanges>
136 Expected<AtomicChanges>
169 ArrayRef<AtomicChange> AtomicChanges, in convertChangesToFileReplacements() argument
171 for (const auto &AtomicChange : AtomicChanges) { in convertChangesToFileReplacements()
257 auto AtomicChanges = tooling::createRenameAtomicChanges( in HandleTranslationUnit() local
259 convertChangesToFileReplacements(AtomicChanges, &FileToReplaces); in HandleTranslationUnit()
DUSRLocFinder.cpp518 std::vector<tooling::AtomicChange> AtomicChanges; in createRenameAtomicChanges() local
529 AtomicChanges.push_back(std::move(ReplaceChange)); in createRenameAtomicChanges()
579 return AtomicChanges; in createRenameAtomicChanges()
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DRefactoringActionRules.h56 Expected<AtomicChanges> Changes = createSourceReplacements(Context); in invoke()
64 virtual Expected<AtomicChanges>
DRefactoringResultConsumer.h33 virtual void handle(AtomicChanges SourceReplacements) { in handle()
DAtomicChange.h152 using AtomicChanges = std::vector<AtomicChange>; variable
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
DRenamingAction.h63 Expected<AtomicChanges>
83 Expected<AtomicChanges>
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DExtract.cpp98 Expected<AtomicChanges>
194 return AtomicChanges{std::move(Change)}; in createSourceReplacements()
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Extract/
DExtract.h38 Expected<AtomicChanges>
/external/llvm-project/clang/docs/
DRefactoringEngine.rst124 Expected<AtomicChanges>