Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp134 auto &[CachedEntry, CachedRealPath] = It->getValue(); in getOrEmplaceEntryForFilename()
135 if (!CachedEntry) { in getOrEmplaceEntryForFilename()
139 CachedEntry = in getOrEmplaceEntryForFilename()
142 return *CachedEntry; in getOrEmplaceEntryForFilename()
151 auto &CachedEntry = It->getSecond(); in getOrEmplaceEntryForUID() local
157 CachedEntry = new (EntryStorage.Allocate()) in getOrEmplaceEntryForUID()
160 return *CachedEntry; in getOrEmplaceEntryForUID()
169 auto &[CachedEntry, CachedRealPath] = It->getValue(); in getOrInsertEntryForFilename()
170 if (!Inserted || !CachedEntry) in getOrInsertEntryForFilename()
171 CachedEntry = &Entry; in getOrInsertEntryForFilename()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h251 auto &[CachedEntry, CachedRealPath] = It->getValue(); in insertEntryForFilename()
255 assert((!CachedEntry && CachedRealPath) && "entry already present"); in insertEntryForFilename()
256 CachedEntry = &Entry; in insertEntryForFilename()
258 return *CachedEntry; in insertEntryForFilename()
276 auto &[CachedEntry, CachedRealPath] = It->getValue(); in insertRealPathForFilename()
280 assert((!CachedRealPath && CachedEntry) && "real path already present"); in insertRealPathForFilename()