Searched refs:DirectoryEntryRef (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang/include/clang/Basic/ |
D | DirectoryEntry.h | 45 class DirectoryEntryRef { 53 friend llvm::hash_code hash_value(DirectoryEntryRef Ref) { in hash_value() 62 bool isSameRef(DirectoryEntryRef RHS) const { return ME == RHS.ME; } in isSameRef() 64 DirectoryEntryRef() = delete; 65 DirectoryEntryRef(const MapEntry &ME) : ME(&ME) {} in DirectoryEntryRef() function 87 friend class FileMgr::MapEntryOptionalStorage<DirectoryEntryRef>; 91 DirectoryEntryRef(optional_none_tag) : ME(nullptr) {} in DirectoryEntryRef() function 94 friend struct llvm::DenseMapInfo<DirectoryEntryRef>; 99 DirectoryEntryRef(dense_map_empty_tag) 101 DirectoryEntryRef(dense_map_tombstone_tag) [all …]
|
D | FileEntry.h | 63 DirectoryEntryRef getDir() const { return *ME->second->Dir; } in getDir() 117 Optional<DirectoryEntryRef> Dir; 120 MapValue(FileEntry &FE, DirectoryEntryRef Dir) : V(&FE), Dir(Dir) {} in MapValue()
|
D | FileManager.h | 160 llvm::Expected<DirectoryEntryRef> getDirectoryRef(StringRef DirName, 164 llvm::Optional<DirectoryEntryRef>
|
D | Module.h | 137 const DirectoryEntryRef::MapEntry *> 557 return Umbrella && Umbrella.is<const DirectoryEntryRef::MapEntry *>(); in hasUmbrellaDir()
|
/external/llvm-project/clang/unittests/Basic/ |
D | FileEntryTest.cpp | 28 DirectoryEntryRef DR; 32 DirectoryEntryRef addDirectory(StringRef Name) { in addDirectory() 34 return DirectoryEntryRef(*Dirs.insert({Name, *DEs.back()}).first); in addDirectory() 36 DirectoryEntryRef addDirectoryAlias(StringRef Name, DirectoryEntryRef Base) { in addDirectoryAlias() 37 return DirectoryEntryRef( in addDirectoryAlias() 157 DirectoryEntryRef R1 = Refs.addDirectory("1"); in TEST() 158 DirectoryEntryRef R2 = Refs.addDirectory("2"); in TEST() 159 DirectoryEntryRef R1Also = Refs.addDirectoryAlias("1-also", R1); in TEST() 161 EXPECT_TRUE(R1.isSameRef(DirectoryEntryRef(R1))); in TEST() 162 EXPECT_TRUE(R1.isSameRef(DirectoryEntryRef(R1.getMapEntry()))); in TEST() [all …]
|
/external/llvm-project/clang/include/clang/Lex/ |
D | DirectoryLookup.h | 41 DirectoryEntryRef Dir; 47 DLU(DirectoryEntryRef Dir) : Dir(Dir) {} in DLU() 68 DirectoryLookup(DirectoryEntryRef Dir, SrcMgr::CharacteristicKind DT, in DirectoryLookup() 100 Optional<DirectoryEntryRef> getFrameworkDirRef() const { in getFrameworkDirRef() 101 return isFramework() ? Optional<DirectoryEntryRef>(u.Dir) : None; in getFrameworkDirRef()
|
D | ModuleMap.h | 656 void setUmbrellaDir(Module *Mod, DirectoryEntryRef UmbrellaDir,
|
/external/llvm-project/clang/lib/Basic/ |
D | FileManager.cpp | 72 static llvm::Expected<DirectoryEntryRef> 117 llvm::Expected<DirectoryEntryRef> 145 return DirectoryEntryRef(*SeenDirInsertResult.first); in getDirectoryRef() 184 return DirectoryEntryRef(NamedDirEnt); in getDirectoryRef() 247 DirectoryEntryRef DirInfo = *DirInfoOrErr; in getFileRef()
|
D | Module.cpp | 250 if (auto *ME = Umbrella.dyn_cast<const DirectoryEntryRef::MapEntry *>()) in getUmbrellaDir() 251 return {UmbrellaAsWritten, DirectoryEntryRef(*ME)}; in getUmbrellaDir()
|
/external/llvm-project/clang/lib/Lex/ |
D | ModuleMap.cpp | 1136 void ModuleMap::setUmbrellaDir(Module *Mod, DirectoryEntryRef UmbrellaDir, in setUmbrellaDir() 2419 Optional<DirectoryEntryRef> Dir; in parseUmbrellaDirDecl()
|