Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceManager.h128 class alignas(8) ContentCache {
179 ContentCache(const FileEntry *Ent = nullptr) : ContentCache(Ent, Ent) {} in ContentCache() function
181 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function
188 ContentCache(const ContentCache &RHS) in ContentCache() function
198 ContentCache &operator=(const ContentCache &RHS) = delete;
266 static_assert(alignof(ContentCache) >= 8,
302 llvm::PointerIntPair<const ContentCache *, 3, CharacteristicKind>
307 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()
323 const ContentCache &getContentCache() const { in getContentCache()
638 llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp55 unsigned ContentCache::getSizeBytesMapped() const { in getSizeBytesMapped()
61 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const { in getMemoryBufferKind()
75 unsigned ContentCache::getSize() const { in getSize()
80 const char *ContentCache::getInvalidBOM(StringRef BufStr) { in getInvalidBOM()
104 ContentCache::getBufferOrNone(DiagnosticsEngine &Diag, FileManager &FM, in getBufferOrNone()
323 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()
327 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator 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()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DRewriter.cpp266 const SrcMgr::ContentCache *Content = in InsertText()
370 const SrcMgr::ContentCache *Content = in IncreaseIndentation()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format/
H A DClangFormat.cpp377 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp1548 const SrcMgr::ContentCache &ContentCache = in ReadSLocEntry() local
1550 if (OverriddenBuffer && !ContentCache.BufferOverridden && in ReadSLocEntry()
1551 ContentCache.ContentsEntry == ContentCache.OrigEntry && in ReadSLocEntry()
1552 !ContentCache.getBufferIfLoaded()) { in ReadSLocEntry()
H A DASTWriter.cpp1457 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTImporter.cpp8866 const SrcMgr::ContentCache *Cache = &FromSLoc.getFile().getContentCache(); in Import()