Home
last modified time | relevance | path

Searched refs:DirectoryEntryRef (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h48 class DirectoryEntryRef {
56 friend llvm::hash_code hash_value(DirectoryEntryRef Ref) { in hash_value()
65 bool isSameRef(DirectoryEntryRef RHS) const { return ME == RHS.ME; } in isSameRef()
67 DirectoryEntryRef() = delete;
68 explicit DirectoryEntryRef(const MapEntry &ME) : ME(&ME) {} in DirectoryEntryRef() function
90 friend class FileMgr::MapEntryOptionalStorage<DirectoryEntryRef>;
94 DirectoryEntryRef(optional_none_tag) : ME(nullptr) {} in DirectoryEntryRef() function
97 friend struct llvm::DenseMapInfo<DirectoryEntryRef>;
102 DirectoryEntryRef(dense_map_empty_tag)
104 DirectoryEntryRef(dense_map_tombstone_tag)
[all …]
H A DFileEntry.h73 DirectoryEntryRef getDir() const { return ME->second->Dir; } in getDir()
124 DirectoryEntryRef Dir;
127 MapValue(FileEntry &FE, DirectoryEntryRef Dir) : V(&FE), Dir(Dir) {} in MapValue()
128 MapValue(MapEntry &ME, DirectoryEntryRef Dir) : V(&ME), Dir(Dir) {} in MapValue()
H A DFileManager.h171 llvm::Expected<DirectoryEntryRef> getDirectoryRef(StringRef DirName,
338 StringRef getCanonicalName(DirectoryEntryRef Dir);
H A DModule.h166 std::variant<std::monostate, FileEntryRef, DirectoryEntryRef> Umbrella;
261 DirectoryEntryRef Entry;
693 if (const auto *Dir = std::get_if<DirectoryEntryRef>(&Umbrella)) in getUmbrellaDirAsWritten()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h372 FileEntryRef File, SmallVectorImpl<DirectoryEntryRef> &IntermediateDirs);
381 SmallVector<DirectoryEntryRef, 2> IntermediateDirs; in isHeaderInUmbrellaDirs()
385 Module *inferFrameworkModule(DirectoryEntryRef FrameworkDir, Attributes Attrs,
412 void setBuiltinIncludeDir(DirectoryEntryRef Dir) { BuiltinIncludeDir = Dir; } in setBuiltinIncludeDir()
588 Module *inferFrameworkModule(DirectoryEntryRef FrameworkDir, bool IsSystem,
698 void setUmbrellaDirAsWritten(Module *Mod, DirectoryEntryRef UmbrellaDir,
728 DirectoryEntryRef HomeDir, FileID ID = FileID(),
H A DHeaderSearch.h513 ArrayRef<std::pair<OptionalFileEntryRef, DirectoryEntryRef>> Includers,
679 OptionalFileEntryRef lookupModuleMapFile(DirectoryEntryRef Dir,
787 Module *loadFrameworkModule(StringRef Name, DirectoryEntryRef Dir,
947 DirectoryEntryRef Dir,
971 LoadModuleMapResult loadModuleMapFile(DirectoryEntryRef Dir, bool IsSystem,
H A DPreprocessor.h2040 void setMainFileDir(DirectoryEntryRef Dir) { MainFileDir = Dir; } in setMainFileDir()
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesManager.h45 using ReaderEntry = llvm::PointerUnion<DirectoryEntryRef, APINotesReader *>;
97 OptionalFileEntryRef findAPINotesFile(DirectoryEntryRef Directory,
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp67 static llvm::Expected<DirectoryEntryRef>
138 llvm::Expected<DirectoryEntryRef>
166 return DirectoryEntryRef(*SeenDirInsertResult.first); in getDirectoryRef()
196 return DirectoryEntryRef(NamedDirEnt); in getDirectoryRef()
253 DirectoryEntryRef DirInfo = *DirInfoOrErr; in getFileRef()
630 StringRef FileManager::getCanonicalName(DirectoryEntryRef Dir) { in getCanonicalName()
H A DModule.cpp272 if (const auto *Dir = std::get_if<DirectoryEntryRef>(&Umbrella)) in getEffectiveUmbrellaDir()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp140 APINotesManager::findAPINotesFile(DirectoryEntryRef Directory, in findAPINotesFile()
231 auto tryAPINotes = [&](DirectoryEntryRef Dir, bool WantPublic) { in getCurrentModuleAPINotes()
377 if (Known->second && Known->second.is<DirectoryEntryRef>()) { in findAPINotes()
379 Dir = Known->second.get<DirectoryEntryRef>(); in findAPINotes()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp439 FileEntryRef File, SmallVectorImpl<DirectoryEntryRef> &IntermediateDirs) { in findHeaderInUmbrellaDirs()
639 SmallVector<DirectoryEntryRef, 2> SkippedDirs; in findOrCreateModuleForHeaderInUmbrellaDir()
658 for (DirectoryEntryRef SkippedDir : llvm::reverse(SkippedDirs)) { in findOrCreateModuleForHeaderInUmbrellaDir()
762 SmallVector<DirectoryEntryRef, 2> SkippedDirs; in isHeaderUnavailableInModule()
787 for (DirectoryEntryRef SkippedDir : llvm::reverse(SkippedDirs)) { in isHeaderUnavailableInModule()
992 Module *ModuleMap::inferFrameworkModule(DirectoryEntryRef FrameworkDir, in inferFrameworkModule()
999 Module *ModuleMap::inferFrameworkModule(DirectoryEntryRef FrameworkDir, in inferFrameworkModule()
1202 Module *Mod, DirectoryEntryRef UmbrellaDir, const Twine &NameAsWritten, in setUmbrellaDirAsWritten()
1532 DirectoryEntryRef Directory;
1596 DirectoryEntryRef Directory, bool IsSystem) in ModuleMapParser()
[all …]
H A DHeaderSearch.cpp357 DirectoryEntryRef NormalDir = *Dir.getDirRef(); in lookupModule()
888 ArrayRef<std::pair<OptionalFileEntryRef, DirectoryEntryRef>> Includers, in LookupFile()
1833 DirectoryEntryRef Dir, FileID ID, in loadModuleMapFileImpl()
1860 HeaderSearch::lookupModuleMapFile(DirectoryEntryRef Dir, bool IsFramework) { in lookupModuleMapFile()
1893 Module *HeaderSearch::loadFrameworkModule(StringRef Name, DirectoryEntryRef Dir, in loadFrameworkModule()
1924 HeaderSearch::loadModuleMapFile(DirectoryEntryRef Dir, bool IsSystem, in loadModuleMapFile()
H A DPPDirectives.cpp967 SmallVector<std::pair<OptionalFileEntryRef, DirectoryEntryRef>, 16> Includers; in LookupFile()
1122 DirectoryEntryRef WorkingDirEntry = *MaybeWorkingDirEntry; in LookupEmbedFile()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp118 auto NotFoundRelativeTo = [&](DirectoryEntryRef DE) { in InclusionDirective()
H A DFrontendAction.cpp841 SmallVector<std::pair<OptionalFileEntryRef, DirectoryEntryRef>, 1> CWD; in BeginSourceFile()