Home
last modified time | relevance | path

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

/freebsd-14.2/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,
321 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()
337 const ContentCache &getContentCache() const { in getContentCache()
711 std::vector<SrcMgr::ContentCache*> MemBufferInfos;
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp73 unsigned ContentCache::getSize() const { in getSize()
323 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()
329 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()
404 new (Entry) ContentCache(FileEnt); in getOrCreateContentCache()
410 new (Entry) ContentCache(FileEnt); in getOrCreateContentCache()
425 ContentCache *Entry = ContentCacheAlloc.Allocate<ContentCache>(); in createMemBufferContentCache()
426 new (Entry) ContentCache(); in createMemBufferContentCache()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp263 const SrcMgr::ContentCache *Content = in InsertText()
367 const SrcMgr::ContentCache *Content = in IncreaseIndentation()
/freebsd-14.2/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp423 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1639 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in WriteInputFiles()
2162 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
2174 const SrcMgr::ContentCache *Content = &File.getContentCache(); in WriteSourceManagerBlock()
4698 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in collectNonAffectingInputFiles()
H A DASTReader.cpp1668 const SrcMgr::ContentCache &ContentCache = in ReadSLocEntry() local
1670 if (OverriddenBuffer && !ContentCache.BufferOverridden && in ReadSLocEntry()
1671 ContentCache.ContentsEntry == ContentCache.OrigEntry && in ReadSLocEntry()
1672 !ContentCache.getBufferIfLoaded()) { in ReadSLocEntry()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp9872 const SrcMgr::ContentCache *Cache = &FromSLoc.getFile().getContentCache(); in Import()