Home
last modified time | relevance | path

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

/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()
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 …]
/external/clang/include/clang/Basic/
DSourceManager.h84 class ContentCache {
136 ContentCache(const FileEntry *Ent = 0)
141 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function
146 ~ContentCache();
151 ContentCache(const ContentCache &RHS) in ContentCache() function
224 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 …]
/external/clang/lib/Rewrite/Core/
DRewriter.cpp247 const SrcMgr::ContentCache * in InsertText()
377 const SrcMgr::ContentCache * in IncreaseIndentation()
/external/clang/lib/Frontend/
DCacheTokens.cpp474 const SrcMgr::ContentCache &C = *I->second; in GeneratePTH()
/external/clang/lib/Serialization/
DASTReader.cpp1148 const SrcMgr::ContentCache *ContentCache in ReadSLocEntryRecord() local
1151 if (OverriddenBuffer && !ContentCache->BufferOverridden && in ReadSLocEntryRecord()
1152 ContentCache->ContentsEntry == ContentCache->OrigEntry) { in ReadSLocEntryRecord()
DASTWriter.cpp1445 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
1464 const SrcMgr::ContentCache *Content = File.getContentCache(); in WriteSourceManagerBlock()
/external/clang/lib/AST/
DASTImporter.cpp4466 const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache(); in Import()