Home
last modified time | relevance | path

Searched refs:ContentCache (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/Basic/
DSourceManager.h73 class ContentCache {
114 ContentCache(const FileEntry *Ent = 0)
118 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function
122 ~ContentCache();
127 ContentCache(const ContentCache &RHS) in ContentCache() function
196 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 …]
/external/clang/lib/Basic/
DSourceManager.cpp39 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 …]
/external/clang/lib/Rewrite/
DRewriter.cpp244 const SrcMgr::ContentCache * in InsertText()
374 const SrcMgr::ContentCache * in IncreaseIndentation()
/external/clang/lib/Frontend/
DCacheTokens.cpp474 const SrcMgr::ContentCache &C = *I->second; in GeneratePTH()
/external/clang/lib/Serialization/
DASTReader.cpp1141 const SrcMgr::ContentCache *ContentCache in ReadSLocEntryRecord() local
1143 if (OverriddenBuffer && !ContentCache->BufferOverridden && in ReadSLocEntryRecord()
1144 ContentCache->ContentsEntry == ContentCache->OrigEntry) { in ReadSLocEntryRecord()
DASTWriter.cpp1440 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
1459 const SrcMgr::ContentCache *Content = File.getContentCache(); in WriteSourceManagerBlock()
/external/clang/lib/AST/
DASTImporter.cpp4485 const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache(); in Import()