Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h55 class DirectoryEntryRef {
74 DirectoryEntryRef() = delete;
104 friend struct llvm::DenseMapInfo<DirectoryEntryRef>;
109 DirectoryEntryRef(dense_map_empty_tag)
111 DirectoryEntryRef(dense_map_tombstone_tag)
172 class OptionalStorage<clang::DirectoryEntryRef>
207 return clang::DirectoryEntryRef(
218 return clang::DirectoryEntryRef(
223 return clang::DirectoryEntryRef(
231 static bool isEqual(clang::DirectoryEntryRef LHS,
[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.h165 llvm::Expected<DirectoryEntryRef> getDirectoryRef(StringRef DirName,
323 StringRef getCanonicalName(DirectoryEntryRef Dir);
H A DModule.h166 std::variant<std::monostate, FileEntryRef, DirectoryEntryRef> Umbrella;
261 DirectoryEntryRef Entry;
687 if (const auto *Dir = std::get_if<DirectoryEntryRef>(&Umbrella)) in getUmbrellaDirAsWritten()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h373 FileEntryRef File, SmallVectorImpl<DirectoryEntryRef> &IntermediateDirs);
382 SmallVector<DirectoryEntryRef, 2> IntermediateDirs; in isHeaderInUmbrellaDirs()
386 Module *inferFrameworkModule(DirectoryEntryRef FrameworkDir, Attributes Attrs,
413 void setBuiltinIncludeDir(DirectoryEntryRef Dir) { BuiltinIncludeDir = Dir; } in setBuiltinIncludeDir()
589 Module *inferFrameworkModule(DirectoryEntryRef FrameworkDir, bool IsSystem,
697 void setUmbrellaDirAsWritten(Module *Mod, DirectoryEntryRef UmbrellaDir,
727 DirectoryEntryRef HomeDir, FileID ID = FileID(),
H A DDirectoryLookup.h41 DirectoryEntryRef Dir;
47 DLU(DirectoryEntryRef Dir) : Dir(Dir) {} in DLU()
72 DirectoryLookup(DirectoryEntryRef Dir, SrcMgr::CharacteristicKind DT, in DirectoryLookup()
H A DHeaderSearch.h496 ArrayRef<std::pair<OptionalFileEntryRef, DirectoryEntryRef>> Includers,
651 OptionalFileEntryRef lookupModuleMapFile(DirectoryEntryRef Dir,
759 Module *loadFrameworkModule(StringRef Name, DirectoryEntryRef Dir,
918 DirectoryEntryRef Dir,
942 LoadModuleMapResult loadModuleMapFile(DirectoryEntryRef Dir, bool IsSystem,
H A DPreprocessor.h2015 void setMainFileDir(DirectoryEntryRef Dir) { MainFileDir = Dir; } in setMainFileDir()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesManager.h45 using ReaderEntry = llvm::PointerUnion<DirectoryEntryRef, APINotesReader *>;
97 OptionalFileEntryRef findAPINotesFile(DirectoryEntryRef Directory,
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp73 static llvm::Expected<DirectoryEntryRef>
118 llvm::Expected<DirectoryEntryRef>
146 return DirectoryEntryRef(*SeenDirInsertResult.first); in getDirectoryRef()
186 return DirectoryEntryRef(NamedDirEnt); in getDirectoryRef()
243 DirectoryEntryRef DirInfo = *DirInfoOrErr; in getFileRef()
632 StringRef FileManager::getCanonicalName(DirectoryEntryRef Dir) { in getCanonicalName()
H A DModule.cpp272 if (const auto *Dir = std::get_if<DirectoryEntryRef>(&Umbrella)) in getEffectiveUmbrellaDir()
/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp139 APINotesManager::findAPINotesFile(DirectoryEntryRef Directory, in findAPINotesFile()
229 auto tryAPINotes = [&](DirectoryEntryRef Dir, bool WantPublic) { in getCurrentModuleAPINotes()
371 if (Known->second && Known->second.is<DirectoryEntryRef>()) { in findAPINotes()
373 Dir = Known->second.get<DirectoryEntryRef>(); in findAPINotes()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp439 FileEntryRef File, SmallVectorImpl<DirectoryEntryRef> &IntermediateDirs) { in findHeaderInUmbrellaDirs()
639 SmallVector<DirectoryEntryRef, 2> SkippedDirs; in findOrCreateModuleForHeaderInUmbrellaDir()
659 for (DirectoryEntryRef SkippedDir : llvm::reverse(SkippedDirs)) { in findOrCreateModuleForHeaderInUmbrellaDir()
763 SmallVector<DirectoryEntryRef, 2> SkippedDirs; in isHeaderUnavailableInModule()
788 for (DirectoryEntryRef SkippedDir : llvm::reverse(SkippedDirs)) { in isHeaderUnavailableInModule()
993 Module *ModuleMap::inferFrameworkModule(DirectoryEntryRef FrameworkDir, in inferFrameworkModule()
1000 Module *ModuleMap::inferFrameworkModule(DirectoryEntryRef FrameworkDir, in inferFrameworkModule()
1203 Module *Mod, DirectoryEntryRef UmbrellaDir, const Twine &NameAsWritten, in setUmbrellaDirAsWritten()
1527 DirectoryEntryRef Directory;
1591 DirectoryEntryRef Directory, bool IsSystem) in ModuleMapParser()
[all …]
H A DHeaderSearch.cpp333 DirectoryEntryRef NormalDir = *Dir.getDirRef(); in lookupModule()
864 ArrayRef<std::pair<OptionalFileEntryRef, DirectoryEntryRef>> Includers, in LookupFile()
1728 DirectoryEntryRef Dir, FileID ID, in loadModuleMapFileImpl()
1755 HeaderSearch::lookupModuleMapFile(DirectoryEntryRef Dir, bool IsFramework) { in lookupModuleMapFile()
1788 Module *HeaderSearch::loadFrameworkModule(StringRef Name, DirectoryEntryRef Dir, in loadFrameworkModule()
1819 HeaderSearch::loadModuleMapFile(DirectoryEntryRef Dir, bool IsSystem, in loadModuleMapFile()
H A DPPDirectives.cpp966 SmallVector<std::pair<OptionalFileEntryRef, DirectoryEntryRef>, 16> Includers; in LookupFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp116 auto NotFoundRelativeTo = [&](DirectoryEntryRef DE) { in InclusionDirective()
H A DFrontendAction.cpp832 SmallVector<std::pair<OptionalFileEntryRef, DirectoryEntryRef>, 1> CWD; in BeginSourceFile()