Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DSourceManager.h85 class ContentCache {
146 ContentCache(const FileEntry *Ent = nullptr)
153 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function
158 ~ContentCache();
163 ContentCache(const ContentCache &RHS) in ContentCache() function
234 ContentCache &operator=(const ContentCache& RHS) LLVM_DELETED_FUNCTION;
239 static_assert(llvm::AlignOf<ContentCache>::Alignment >= 8,
273 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get()
288 const ContentCache* getContentCache() const { in getContentCache()
289 return reinterpret_cast<const ContentCache*>(Data & ~uintptr_t(7)); in getContentCache()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp38 ContentCache::~ContentCache() { in ~ContentCache()
45 unsigned ContentCache::getSizeBytesMapped() const { in getSizeBytesMapped()
51 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const { in getMemoryBufferKind()
66 unsigned ContentCache::getSize() const { in getSize()
71 void ContentCache::replaceBuffer(llvm::MemoryBuffer *B, bool DoNotFree) { in replaceBuffer()
84 llvm::MemoryBuffer *ContentCache::getBuffer(DiagnosticsEngine &Diag, in getBuffer()
384 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()
388 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator in ~SourceManager()
391 I->second->~ContentCache(); in ~SourceManager()
419 const ContentCache *
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Rewrite/
H A DRewriter.cpp251 const SrcMgr::ContentCache * in InsertText()
355 const SrcMgr::ContentCache * in IncreaseIndentation()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DCacheTokens.cpp497 const SrcMgr::ContentCache &C = *I->second; in GeneratePTH()
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp1227 const SrcMgr::ContentCache *ContentCache in ReadSLocEntry() local
1230 if (OverriddenBuffer && !ContentCache->BufferOverridden && in ReadSLocEntry()
1231 ContentCache->ContentsEntry == ContentCache->OrigEntry) { in ReadSLocEntry()
H A DASTWriter.cpp1454 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteInputFiles()
1805 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
1823 const SrcMgr::ContentCache *Content = File.getContentCache(); in WriteSourceManagerBlock()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DASTImporter.cpp4954 const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache(); in Import()