Searched refs:Remap (Results 1 - 4 of 4) sorted by relevance

/external/clang/tools/libclang/
H A DARCMigrate.cpp26 struct Remap { struct in namespace:__anon3861
59 llvm::OwningPtr<Remap> remap(new Remap());
78 return static_cast<Remap *>(map)->Vec.size();
86 static_cast<Remap *>(map)->Vec[index].first,
90 static_cast<Remap *>(map)->Vec[index].second,
95 delete static_cast<Remap *>(map);
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp572 // Remap files in the source manager (with buffers).
574 Remap = InitOpts.remapped_file_buffer_begin(),
576 Remap != RemapEnd;
577 ++Remap) {
579 const FileEntry *FromFile = FileMgr.getVirtualFile(Remap->first,
580 Remap->second->getBufferSize(),
584 << Remap->first;
586 delete Remap->second;
592 SourceMgr.overrideFileContents(FromFile, Remap->second,
596 // Remap file
[all...]
H A DASTUnit.cpp1343 // Remap the main source file to the preamble buffer.
1784 // Remap files.
2153 // Remap files.
2284 static void TranslateSLoc(SourceLocation &L, SLocRemap &Remap) { argument
2288 ((Raw & ~MacroBit) + Remap.find(Raw & ~MacroBit)->second));
2308 SLocRemap &Remap = Mod->SLocRemap; local
2313 TranslateSLoc(L, Remap);
2322 TranslateSLoc(BL, Remap);
2324 TranslateSLoc(EL, Remap);
2337 TranslateSLoc(BL, Remap);
[all...]
/external/clang/include/clang/Serialization/
H A DASTReader.h1175 int Remap = Module.SLocRemap.find(Loc.getOffset())->second; local
1176 return Loc.getLocWithOffset(Remap);

Completed in 717 milliseconds