Home
last modified time | relevance | path

Searched refs:getDir (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp438 *File, Dir ? Dir : File->getFileEntry().getDir(), RequestingModule, in getFileAndSuggestModule()
474 TmpDir, IncludeLoc, getDir(), isSystemHeaderDirectory(), in LookupFile()
503 if (!HS.findUsableModuleForHeader(File, File.getFileEntry().getDir(), in LookupFile()
692 StringRef FrameworkPath = File->getDir().getName(); in DoFrameworkLookup()
720 if (!HS.findUsableModuleForHeader(*File, getDir(), RequestingModule, in DoFrameworkLookup()
1662 SmallString<128> PrivateFilename(File.getDir().getName()); in getPrivateModuleMap()
1674 << File.getDir().getName().ends_with(".framework"); in getPrivateModuleMap()
1695 Dir = FakeFile.getDir(); in loadModuleMapFile()
1698 Dir = File.getDir(); in loadModuleMapFile()
H A DInitHeaderSearch.cpp384 if (SeenDirs.insert(CurEntry.getDir()).second) in RemoveDuplicates()
418 isSame = SearchEntry.getDir() == CurEntry.getDir(); in RemoveDuplicates()
H A DModuleMap.cpp302 const DirectoryEntry *UmbrellaDir = &File->getDir().getDirEntry(); in resolveHeader()
416 return File.getDir() == BuiltinIncludeDir && LangOpts.BuiltinHeadersInSystemModules && in isBuiltinHeader()
443 OptionalDirectoryEntryRef Dir = File.getDir(); in findHeaderInUmbrellaDirs()
762 OptionalDirectoryEntryRef Dir = Header.getDir(); in isHeaderUnavailableInModule()
1195 UmbrellaDirs[UmbrellaHeader.getDir()] = Mod; in setUmbrellaHeaderAsWritten()
2289 : File->getDir(), in parseExternModuleDecl()
H A DPPLexerChange.cpp229 StringRef FilePath = File.getDir().getName(); in computeRelativePath()
H A DPPDirectives.cpp999 Includers.push_back(std::make_pair(*FileEnt, FileEnt->getDir())); in LookupFile()
1009 Includers.push_back(std::make_pair(*FileEnt, FileEnt->getDir())); in LookupFile()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DFileEntry.h73 DirectoryEntryRef getDir() const { return ME->second->Dir; } in getDir() function
341 const DirectoryEntry *getDir() const { return Dir; }
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DDirectoryLookup.h94 const DirectoryEntry *getDir() const { in getDir() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp126 if (IncludingFile->getDir()) in InclusionDirective()
127 NotFoundRelativeTo(IncludingFile->getDir()); in InclusionDirective()
H A DFrontendAction.cpp477 if (HS.getModuleMap().canInferFrameworkModule(ModuleMap->getDir())) { in loadModuleMapForModuleBuild()
478 SmallString<128> InferredFrameworkPath = ModuleMap->getDir().getName(); in loadModuleMapForModuleBuild()
H A DCompilerInstance.cpp1306 SmallString<128> PublicFilename(File.getDir().getName()); in getPublicModuleMap()
/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp356 OptionalDirectoryEntryRef Dir = File->getDir(); in findAPINotes()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp492 Insertion.first->second = FileEntryRef::MapValue(*BFE, VF.getDir()); in getBypassFile()
H A DModule.cpp271 return Hdr->getDir(); in getEffectiveUmbrellaDir()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2652 if (FE && llvm::sys::path::parent_path(FE->getDir().getName()) in ParseModuleImport()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp3975 (mainFile->getDir().getName() + "/" + mainFile->getName()).str(); in ModuleInitFunction()
H A DCGDebugInfo.cpp541 MainFileDir = std::string(MainFile->getDir().getName()); in CreateCompileUnit()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp10187 AddFilesFromIncludeDir(CurFile->getDir().getName(), false, in CodeCompleteIncludedFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp9889 if (Cache->OrigEntry && Cache->OrigEntry->getDir()) { in Import()