Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp53 ContentCache::~ContentCache() { in ~ContentCache()
337 I->second->~ContentCache(); in ~SourceManager()
364 auto CloneContentCache = [&](const ContentCache *Cache) -> ContentCache * { in initializeForReplay()
365 auto *Clone = new (ContentCacheAlloc.Allocate<ContentCache>()) ContentCache; in initializeForReplay()
391 const ContentCache *
426 const ContentCache *
430 ContentCache *Entry = ContentCacheAlloc.Allocate<ContentCache>(); in createMemBufferContentCache()
431 new (Entry) ContentCache(); in createMemBufferContentCache()
482 const SrcMgr::ContentCache *
1256 ContentCache *Content; in getLineNumber()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManager.h95 class alignas(8) ContentCache {
153 ContentCache(const FileEntry *Ent = nullptr) : ContentCache(Ent, Ent) {} in ContentCache() function
162 ContentCache(const ContentCache &RHS) in ContentCache() function
175 ContentCache &operator=(const ContentCache& RHS) = delete;
177 ~ContentCache();
232 static_assert(alignof(ContentCache) >= 8,
284 const ContentCache *getContentCache() const { in getContentCache()
634 std::vector<SrcMgr::ContentCache*> MemBufferInfos;
820 const SrcMgr::ContentCache *IR =
1772 const SrcMgr::ContentCache *
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DScratchBuffer.cpp41 auto *ContentCache = const_cast<SrcMgr::ContentCache *>( in getToken() local
44 ContentCache->SourceLineCache = nullptr; in getToken()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DRewriter.cpp253 const SrcMgr::ContentCache * in InsertText()
357 const SrcMgr::ContentCache * in IncreaseIndentation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp1459 const SrcMgr::ContentCache *ContentCache in ReadSLocEntry() local
1461 if (OverriddenBuffer && !ContentCache->BufferOverridden && in ReadSLocEntry()
1462 ContentCache->ContentsEntry == ContentCache->OrigEntry && in ReadSLocEntry()
1463 !ContentCache->getRawBuffer()) { in ReadSLocEntry()
H A DASTWriter.cpp1789 const SrcMgr::ContentCache *Cache = File.getContentCache(); in WriteInputFiles()
2255 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
2273 const SrcMgr::ContentCache *Content = File.getContentCache(); in WriteSourceManagerBlock()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTImporter.cpp8197 const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache(); in Import()