Searched refs:ContentCache (Results 1 – 7 of 7) sorted by relevance
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()392 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()396 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator in ~SourceManager()399 I->second->~ContentCache(); in ~SourceManager()433 const ContentCache *[all …]
84 class ContentCache {136 ContentCache(const FileEntry *Ent = 0)141 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function146 ~ContentCache();151 ContentCache(const ContentCache &RHS) in ContentCache() function224 ContentCache &operator=(const ContentCache& RHS);258 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get()273 const ContentCache* getContentCache() const { in getContentCache()274 return reinterpret_cast<const ContentCache*>(Data & ~7UL); in getContentCache()538 llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos;[all …]
247 const SrcMgr::ContentCache * in InsertText()377 const SrcMgr::ContentCache * in IncreaseIndentation()
474 const SrcMgr::ContentCache &C = *I->second; in GeneratePTH()
1148 const SrcMgr::ContentCache *ContentCache in ReadSLocEntryRecord() local1151 if (OverriddenBuffer && !ContentCache->BufferOverridden && in ReadSLocEntryRecord()1152 ContentCache->ContentsEntry == ContentCache->OrigEntry) { in ReadSLocEntryRecord()
1445 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()1464 const SrcMgr::ContentCache *Content = File.getContentCache(); in WriteSourceManagerBlock()
4466 const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache(); in Import()