Home
last modified time | relevance | path

Searched refs:Remap (Results 1 – 5 of 5) sorted by relevance

/external/clang/tools/libclang/
DARCMigrate.cpp26 struct Remap { struct
59 llvm::OwningPtr<Remap> remap(new Remap()); in clang_getRemappings()
78 return static_cast<Remap *>(map)->Vec.size(); in clang_remap_getNumFiles()
86 static_cast<Remap *>(map)->Vec[index].first, in clang_remap_getFilenames()
90 static_cast<Remap *>(map)->Vec[index].second, in clang_remap_getFilenames()
95 delete static_cast<Remap *>(map); in clang_remap_dispose()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp641 Remap = InitOpts.remapped_file_buffer_begin(), in InitializeFileRemapping() local
643 Remap != RemapEnd; in InitializeFileRemapping()
644 ++Remap) { in InitializeFileRemapping()
646 const FileEntry *FromFile = FileMgr.getVirtualFile(Remap->first, in InitializeFileRemapping()
647 Remap->second->getBufferSize(), in InitializeFileRemapping()
651 << Remap->first; in InitializeFileRemapping()
653 delete Remap->second; in InitializeFileRemapping()
659 SourceMgr.overrideFileContents(FromFile, Remap->second, in InitializeFileRemapping()
665 Remap = InitOpts.remapped_file_begin(), in InitializeFileRemapping() local
667 Remap != RemapEnd; in InitializeFileRemapping()
[all …]
DASTUnit.cpp2347 static void TranslateSLoc(SourceLocation &L, SLocRemap &Remap) { in TranslateSLoc() argument
2351 ((Raw & ~MacroBit) + Remap.find(Raw & ~MacroBit)->second)); in TranslateSLoc()
2371 SLocRemap &Remap = Mod->SLocRemap; in TranslateStoredDiagnostics() local
2376 TranslateSLoc(L, Remap); in TranslateStoredDiagnostics()
2385 TranslateSLoc(BL, Remap); in TranslateStoredDiagnostics()
2387 TranslateSLoc(EL, Remap); in TranslateStoredDiagnostics()
2400 TranslateSLoc(BL, Remap); in TranslateStoredDiagnostics()
2402 TranslateSLoc(EL, Remap); in TranslateStoredDiagnostics()
/external/clang/include/clang/Serialization/
DASTReader.h1277 int Remap = Module.SLocRemap.find(Offset)->second; in ReadSourceLocation() local
1278 Offset += Remap; in ReadSourceLocation()
/external/blktrace/
DREADME111 A - Remap