Home
last modified time | relevance | path

Searched refs:CachedFileContents (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h30 struct CachedFileContents { struct
31 CachedFileContents(std::unique_ptr<llvm::MemoryBuffer> Contents) in CachedFileContents() argument
44 ~CachedFileContents() { delete DepDirectives.load(); } in ~CachedFileContents() argument
70 CachedFileContents *Contents) in CachedFileSystemEntry()
121 CachedFileContents *getCachedContents() const { in getCachedContents()
142 CachedFileContents *Contents;
169 llvm::SpecificBumpPtrAllocator<CachedFileContents> ContentsStorage;
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp49 CachedFileContents *Contents = Entry.getCachedContents(); in scanForDirectivesIfNecessary()
143 CachedFileContents *StoredContents = nullptr; in getOrEmplaceEntryForUID()
146 CachedFileContents(std::move(Contents)); in getOrEmplaceEntryForUID()