Home | History | Annotate | Download | only in ARCMigrate

Lines Matching defs:FileRemapper

1 //===--- FileRemapper.cpp - File Remapping Helper -------------------------===//
10 #include "clang/ARCMigrate/FileRemapper.h"
23 FileRemapper::FileRemapper() {
27 FileRemapper::~FileRemapper() {
31 void FileRemapper::clear(StringRef outputDir) {
44 std::string FileRemapper::getRemapInfoFile(StringRef outputDir) {
51 bool FileRemapper::initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag,
57 bool FileRemapper::initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
112 bool FileRemapper::flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag) {
123 bool FileRemapper::flushToFile(StringRef outputPath, DiagnosticsEngine &Diag) {
170 bool FileRemapper::overwriteOriginal(DiagnosticsEngine &Diag,
199 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const {
213 void FileRemapper::transferMappingsAndClear(PreprocessorOptions &PPOpts) {
229 void FileRemapper::remap(StringRef filePath, llvm::MemoryBuffer *memBuf) {
233 void FileRemapper::remap(const FileEntry *file, llvm::MemoryBuffer *memBuf) {
240 void FileRemapper::remap(const FileEntry *file, const FileEntry *newfile) {
248 const FileEntry *FileRemapper::getOriginalFile(StringRef filePath) {
262 void FileRemapper::resetTarget(Target &targ) {
274 bool FileRemapper::report(const Twine &err, DiagnosticsEngine &Diag) {