Lines Matching refs:tooling
69 tooling::TranslationUnitReplacements TU; in collectReplacementsFromDirectory()
113 tooling::TranslationUnitDiagnostics TU; in collectReplacementsFromDirectory()
139 static llvm::DenseMap<const FileEntry *, std::vector<tooling::Replacement>>
143 llvm::DenseMap<const FileEntry *, std::vector<tooling::Replacement>> in groupReplacements()
150 std::map<tooling::Replacement, in groupReplacements()
151 const tooling::TranslationUnitDiagnostics *>> in groupReplacements()
154 auto AddToGroup = [&](const tooling::Replacement &R, in groupReplacements()
155 const tooling::TranslationUnitDiagnostics *SourceTU) { in groupReplacements()
176 for (const tooling::Replacement &R : TU.Replacements) in groupReplacements()
181 if (const auto *ChoosenFix = tooling::selectFirstFix(D)) { in groupReplacements()
183 for (const tooling::Replacement &R : Fix.second) in groupReplacements()
209 tooling::AtomicChange FileChange(Entry->getName(), Entry->getName()); in mergeAndDeduplicate()
232 std::vector<tooling::AtomicChange>{FileChange}); in mergeAndDeduplicate()
239 applyChanges(StringRef File, const std::vector<tooling::AtomicChange> &Changes, in applyChanges()
240 const tooling::ApplyChangesSpec &Spec, in applyChanges()
249 return tooling::applyAtomicChanges(File, Buffer.get()->getBuffer(), Changes, in applyChanges()