Searched refs:ContentCache (Results 1 – 7 of 7) sorted by relevance
73 class ContentCache {114 ContentCache(const FileEntry *Ent = 0)118 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function122 ~ContentCache();127 ContentCache(const ContentCache &RHS) in ContentCache() function196 ContentCache &operator=(const ContentCache& RHS);228 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get()243 const ContentCache* getContentCache() const { in getContentCache()244 return reinterpret_cast<const ContentCache*>(Data & ~7UL); in getContentCache()498 llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos;[all …]
39 ContentCache::~ContentCache() { in ~ContentCache()46 unsigned ContentCache::getSizeBytesMapped() const { in getSizeBytesMapped()52 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const { in getMemoryBufferKind()67 unsigned ContentCache::getSize() const { in getSize()72 void ContentCache::replaceBuffer(const llvm::MemoryBuffer *B, in replaceBuffer()86 const llvm::MemoryBuffer *ContentCache::getBuffer(DiagnosticsEngine &Diag, in getBuffer()387 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()391 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator in ~SourceManager()394 I->second->~ContentCache(); in ~SourceManager()428 const ContentCache *[all …]
244 const SrcMgr::ContentCache * in InsertText()374 const SrcMgr::ContentCache * in IncreaseIndentation()
474 const SrcMgr::ContentCache &C = *I->second; in GeneratePTH()
1141 const SrcMgr::ContentCache *ContentCache in ReadSLocEntryRecord() local1143 if (OverriddenBuffer && !ContentCache->BufferOverridden && in ReadSLocEntryRecord()1144 ContentCache->ContentsEntry == ContentCache->OrigEntry) { in ReadSLocEntryRecord()
1440 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()1459 const SrcMgr::ContentCache *Content = File.getContentCache(); in WriteSourceManagerBlock()
4485 const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache(); in Import()