Searched refs:ContentCache (Results 1 – 7 of 7) sorted by relevance
128 class alignas(8) ContentCache {179 ContentCache(const FileEntry *Ent = nullptr) : ContentCache(Ent, Ent) {} in ContentCache() function181 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function188 ContentCache(const ContentCache &RHS) in ContentCache() function198 ContentCache &operator=(const ContentCache &RHS) = delete;266 static_assert(alignof(ContentCache) >= 8,307 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()323 const ContentCache &getContentCache() const { in getContentCache()678 std::vector<SrcMgr::ContentCache*> MemBufferInfos;731 mutable const SrcMgr::ContentCache *LastLineNoContentCache;[all …]
75 unsigned ContentCache::getSize() const { in getSize()323 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()330 I->second->~ContentCache(); in ~SourceManager()364 auto CloneContentCache = [&](const ContentCache *Cache) -> ContentCache * { in initializeForReplay()365 auto *Clone = new (ContentCacheAlloc.Allocate<ContentCache>()) ContentCache; in initializeForReplay()392 ContentCache *&Entry = FileInfos[FileEnt]; in getOrCreateContentCache()405 new (Entry) ContentCache(FileEnt); in getOrCreateContentCache()411 new (Entry) ContentCache(FileEnt); in getOrCreateContentCache()426 ContentCache *Entry = ContentCacheAlloc.Allocate<ContentCache>(); in createMemBufferContentCache()427 new (Entry) ContentCache(); in createMemBufferContentCache()[all …]
266 const SrcMgr::ContentCache *Content = in InsertText()370 const SrcMgr::ContentCache *Content = in IncreaseIndentation()
377 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
1550 const SrcMgr::ContentCache &ContentCache = in ReadSLocEntry() local1552 if (OverriddenBuffer && !ContentCache.BufferOverridden && in ReadSLocEntry()1553 ContentCache.ContentsEntry == ContentCache.OrigEntry && in ReadSLocEntry()1554 !ContentCache.getBufferIfLoaded()) { in ReadSLocEntry()
1457 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in WriteInputFiles()1960 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()1978 const SrcMgr::ContentCache *Content = &File.getContentCache(); in WriteSourceManagerBlock()
8995 const SrcMgr::ContentCache *Cache = &FromSLoc.getFile().getContentCache(); in Import()