Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSourceManager.h130 class alignas(8) ContentCache {
182 ContentCache() in ContentCache() function
187 ContentCache(FileEntryRef Ent) : ContentCache(Ent, Ent) {} in ContentCache() function
189 ContentCache(FileEntryRef Ent, const FileEntry *contentEnt) in ContentCache() function
196 ContentCache(const ContentCache &RHS) in ContentCache() function
206 ContentCache &operator=(const ContentCache &RHS) = delete;
274 static_assert(alignof(ContentCache) >= 8,
310 llvm::PointerIntPair<const ContentCache *, 3, CharacteristicKind>
315 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()
331 const ContentCache &getContentCache() const { in getContentCache()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DSourceManager.cpp55 unsigned ContentCache::getSizeBytesMapped() const { in getSizeBytesMapped()
61 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const { in getMemoryBufferKind()
73 unsigned ContentCache::getSize() const { in getSize()
78 const char *ContentCache::getInvalidBOM(StringRef BufStr) { in getInvalidBOM()
102 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 …]
/openbsd-src/gnu/llvm/clang/lib/Rewrite/
H A DRewriter.cpp267 const SrcMgr::ContentCache *Content = in InsertText()
371 const SrcMgr::ContentCache *Content = in IncreaseIndentation()
/openbsd-src/gnu/llvm/clang/tools/clang-format/
H A DClangFormat.cpp421 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp1555 const SrcMgr::ContentCache &ContentCache = in ReadSLocEntry() local
1557 if (OverriddenBuffer && !ContentCache.BufferOverridden && in ReadSLocEntry()
1558 ContentCache.ContentsEntry == ContentCache.OrigEntry && in ReadSLocEntry()
1559 !ContentCache.getBufferIfLoaded()) { in ReadSLocEntry()
H A DASTWriter.cpp1561 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in WriteInputFiles()
2070 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
2082 const SrcMgr::ContentCache *Content = &File.getContentCache(); in WriteSourceManagerBlock()
4599 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in collectNonAffectingInputFiles()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTImporter.cpp9532 const SrcMgr::ContentCache *Cache = &FromSLoc.getFile().getContentCache(); in Import()