Searched refs:AtomicChanges (Results 1 – 13 of 13) sorted by relevance
36 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 …]
156 AtomicChanges Changes;
69 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()
316 ClangRefactorConsumer(AtomicChanges &Changes) : SourceChanges(&Changes) {} in ClangRefactorConsumer()330 void handle(AtomicChanges Changes) override { in handle()340 AtomicChanges *SourceChanges;604 AtomicChanges Changes;
79 Expected<AtomicChanges>136 Expected<AtomicChanges>169 ArrayRef<AtomicChange> AtomicChanges, in convertChangesToFileReplacements() argument171 for (const auto &AtomicChange : AtomicChanges) { in convertChangesToFileReplacements()257 auto AtomicChanges = tooling::createRenameAtomicChanges( in HandleTranslationUnit() local259 convertChangesToFileReplacements(AtomicChanges, &FileToReplaces); in HandleTranslationUnit()
518 std::vector<tooling::AtomicChange> AtomicChanges; in createRenameAtomicChanges() local529 AtomicChanges.push_back(std::move(ReplaceChange)); in createRenameAtomicChanges()579 return AtomicChanges; in createRenameAtomicChanges()
56 Expected<AtomicChanges> Changes = createSourceReplacements(Context); in invoke()64 virtual Expected<AtomicChanges>
33 virtual void handle(AtomicChanges SourceReplacements) { in handle()
152 using AtomicChanges = std::vector<AtomicChange>; variable
63 Expected<AtomicChanges>83 Expected<AtomicChanges>
98 Expected<AtomicChanges>194 return AtomicChanges{std::move(Change)}; in createSourceReplacements()
38 Expected<AtomicChanges>
124 Expected<AtomicChanges>