Lines Matching defs:FileRemapper
1 //===--- FileRemapper.cpp - File Remapping Helper -------------------------===//
9 #include "clang/ARCMigrate/FileRemapper.h"
22 FileRemapper::FileRemapper() {
26 FileRemapper::~FileRemapper() {
30 void FileRemapper::clear(StringRef outputDir) {
42 std::string FileRemapper::getRemapInfoFile(StringRef outputDir) {
49 bool FileRemapper::initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag,
55 bool FileRemapper::initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
109 bool FileRemapper::flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag) {
119 bool FileRemapper::flushToFile(StringRef outputPath, DiagnosticsEngine &Diag) {
168 bool FileRemapper::overwriteOriginal(DiagnosticsEngine &Diag,
194 void FileRemapper::forEachMapping(
209 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const {
223 void FileRemapper::remap(StringRef filePath,
228 void FileRemapper::remap(const FileEntry *file,
236 void FileRemapper::remap(const FileEntry *file, const FileEntry *newfile) {
244 const FileEntry *FileRemapper::getOriginalFile(StringRef filePath) {
260 void FileRemapper::resetTarget(Target &targ) {
272 bool FileRemapper::report(const Twine &err, DiagnosticsEngine &Diag) {