Home
last modified time | relevance | path

Searched refs:ContentCache (Results 1 – 8 of 8) 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.cpp61 unsigned ContentCache::getSizeBytesMapped() const { in getSizeBytesMapped()
67 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const { in getMemoryBufferKind()
79 unsigned ContentCache::getSize() const { in getSize()
84 const char *ContentCache::getInvalidBOM(StringRef BufStr) { in getInvalidBOM()
108 ContentCache::getBufferOrNone(DiagnosticsEngine &Diag, FileManager &FM, in getBufferOrNone()
317 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()
323 I->second->~ContentCache(); in ~SourceManager()
364 auto CloneContentCache = [&](const ContentCache *Cache) -> ContentCache * { in initializeForReplay()
365 auto *Clone = new (ContentCacheAlloc.Allocate<ContentCache>()) ContentCache; in initializeForReplay()
382 SrcMgr::ContentCache *&Slot = FileInfos[FileInfo.first]; in initializeForReplay()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp168 const SrcMgr::ContentCache *Content = in InsertText()
272 const SrcMgr::ContentCache *Content = in IncreaseIndentation()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp427 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1848 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in WriteInputFiles()
2367 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
2379 const SrcMgr::ContentCache *Content = &File.getContentCache(); in WriteSourceManagerBlock()
5500 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in computeNonAffectingInputFiles()
5557 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in computeNonAffectingInputFiles()
H A DASTReader.cpp1886 const SrcMgr::ContentCache &ContentCache = in ReadSLocEntry() local
1888 if (OverriddenBuffer && !ContentCache.BufferOverridden && in ReadSLocEntry()
1889 ContentCache.ContentsEntry == ContentCache.OrigEntry && in ReadSLocEntry()
1890 !ContentCache.getBufferIfLoaded()) { in ReadSLocEntry()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc11558 {"_ZN5clang6SrcMgr12ContentCacheD1Ev", "clang::SrcMgr::ContentCache::~ContentCache()"},
11559 {"_ZN5clang6SrcMgr12ContentCacheD2Ev", "clang::SrcMgr::ContentCache::~ContentCache()"},
11560 {"_ZNK5clang6SrcMgr12ContentCache18getSizeBytesMappedEv", "clang::SrcMgr::ContentCache::getSizeByte…
11561 {"_ZNK5clang6SrcMgr12ContentCache7getSizeEv", "clang::SrcMgr::ContentCache::getSize() const"},
11562 …ontentCache13replaceBufferEPKN4llvm12MemoryBufferEb", "clang::SrcMgr::ContentCache::replaceBuffer(…
11563 …gnosticERKNS_13SourceManagerENS_14SourceLocationEPb", "clang::SrcMgr::ContentCache::getBuffer(clan…
11583 …cteristicKindEjj", "clang::SourceManager::createFileID(clang::SrcMgr::ContentCache const*, clang::…
11600 …ceManagerERb", "ComputeLineNumbers(clang::Diagnostic&, clang::SrcMgr::ContentCache*, llvm::BumpPtr…
11624ContentCache*, std::allocator<clang::SrcMgr::ContentCache*>>::_M_insert_aux(__gnu_cxx::__normal_it…
11625ContentCache*, llvm::DenseMapInfo<clang::FileEntry const*>, llvm::DenseMapInfo<clang::SrcMgr::Cont…
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp10329 const SrcMgr::ContentCache *Cache = &FromSLoc.getFile().getContentCache(); in Import()