Lines Matching defs:MapEntry
117 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<MapValue>>;
121 /// The pointer at another MapEntry is used when the FileManager should
126 llvm::PointerUnion<FileEntry *, const MapEntry *> V;
133 MapValue(MapEntry &ME, DirectoryEntryRef Dir) : V(&ME), Dir(Dir) {}
159 explicit FileEntryRef(const MapEntry &ME) : ME(&ME) {
164 /// Expose the underlying MapEntry to simplify packing in a PointerIntPair or
166 const clang::FileEntryRef::MapEntry &getMapEntry() const { return *ME; }
168 /// Retrieve the base MapEntry after redirects.
169 const MapEntry &getBaseMapEntry() const {
170 const MapEntry *Base = ME;
171 while (const auto *Next = Base->second->V.dyn_cast<const MapEntry *>())
190 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {}
192 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {}
198 const MapEntry *ME;