Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h131 class alignas(8) ContentCache {
187 ContentCache() in ContentCache() function
192 ContentCache(FileEntryRef Ent) : ContentCache(Ent, Ent) {} in ContentCache() function
194 ContentCache(FileEntryRef Ent, FileEntryRef contentEnt) in ContentCache() function
201 ContentCache(const ContentCache &RHS) in ContentCache() function
211 ContentCache &operator=(const ContentCache &RHS) = delete;
279 static_assert(alignof(ContentCache) >= 8,
316 llvm::PointerIntPair<const ContentCache *, 3, CharacteristicKind>
321 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()
337 const ContentCache &getContentCache() const { in getContentCache()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp63 unsigned ContentCache::getSizeBytesMapped() const { in getSizeBytesMapped()
69 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const { in getMemoryBufferKind()
81 unsigned ContentCache::getSize() const { in getSize()
86 const char *ContentCache::getInvalidBOM(StringRef BufStr) { in getInvalidBOM()
110 ContentCache::getBufferOrNone(DiagnosticsEngine &Diag, FileManager &FM, in getBufferOrNone()
331 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()
337 I->second->~ContentCache(); in ~SourceManager()
372 auto CloneContentCache = [&](const ContentCache *Cache) -> ContentCache * { in initializeForReplay()
373 auto *Clone = new (ContentCacheAlloc.Allocate<ContentCache>()) ContentCache; in initializeForReplay()
390 SrcMgr::ContentCache *&Slot = FileInfos[FileInfo.first]; in initializeForReplay()
[all …]
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp434 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1764 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in WriteInputFiles()
2290 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
2302 const SrcMgr::ContentCache *Content = &File.getContentCache(); in WriteSourceManagerBlock()
4943 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in computeNonAffectingInputFiles()
4998 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in computeNonAffectingInputFiles()
H A DASTReader.cpp1708 const SrcMgr::ContentCache &ContentCache = in ReadSLocEntry() local
1710 if (OverriddenBuffer && !ContentCache.BufferOverridden && in ReadSLocEntry()
1711 ContentCache.ContentsEntry == ContentCache.OrigEntry && in ReadSLocEntry()
1712 !ContentCache.getBufferIfLoaded()) { in ReadSLocEntry()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp9966 const SrcMgr::ContentCache *Cache = &FromSLoc.getFile().getContentCache(); in Import()