Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/include/clang/Basic/
H A DFileEntry.h73 DirectoryEntryRef getDir() const { return ME->second->Dir; } in getDir() function
331 const DirectoryEntry *getDir() const { return Dir; }
/src/contrib/llvm-project/clang/lib/Lex/
H A DInitHeaderSearch.cpp384 if (SeenDirs.insert(CurEntry.getDir()).second) in RemoveDuplicates()
418 isSame = SearchEntry.getDir() == CurEntry.getDir(); in RemoveDuplicates()
H A DHeaderSearch.cpp462 *File, Dir ? Dir : File->getFileEntry().getDir(), RequestingModule, in getFileAndSuggestModule()
498 TmpDir, IncludeLoc, getDir(), isSystemHeaderDirectory(), in LookupFile()
527 if (!HS.findUsableModuleForHeader(File, File.getFileEntry().getDir(), in LookupFile()
716 StringRef FrameworkPath = File->getDir().getName(); in DoFrameworkLookup()
744 if (!HS.findUsableModuleForHeader(*File, getDir(), RequestingModule, in DoFrameworkLookup()
1767 SmallString<128> PrivateFilename(File.getDir().getName()); in getPrivateModuleMap()
1779 << File.getDir().getName().ends_with(".framework"); in getPrivateModuleMap()
1800 Dir = FakeFile.getDir(); in loadModuleMapFile()
1803 Dir = File.getDir(); in loadModuleMapFile()
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()
761 OptionalDirectoryEntryRef Dir = Header.getDir(); in isHeaderUnavailableInModule()
1194 UmbrellaDirs[UmbrellaHeader.getDir()] = Mod; in setUmbrellaHeaderAsWritten()
2296 : File->getDir(), in parseExternModuleDecl()
H A DPPLexerChange.cpp229 StringRef FilePath = File.getDir().getName(); in computeRelativePath()
H A DPPDirectives.cpp1000 Includers.push_back(std::make_pair(*FileEnt, FileEnt->getDir())); in LookupFile()
1010 Includers.push_back(std::make_pair(*FileEnt, FileEnt->getDir())); in LookupFile()
/src/contrib/llvm-project/clang/include/clang/Lex/
H A DDirectoryLookup.h94 const DirectoryEntry *getDir() const { in getDir() function
/src/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp128 if (IncludingFile->getDir()) in InclusionDirective()
129 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.cpp1318 SmallString<128> PublicFilename(File.getDir().getName()); in getPublicModuleMap()
/src/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp362 OptionalDirectoryEntryRef Dir = File->getDir(); in findAPINotes()
/src/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp271 return Hdr->getDir(); in getEffectiveUmbrellaDir()
H A DFileManager.cpp486 Insertion.first->second = FileEntryRef::MapValue(*BFE, VF.getDir()); in getBypassFile()
/src/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2676 if (FE && llvm::sys::path::parent_path(FE->getDir().getName()) in ParseModuleImport()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp3974 (mainFile->getDir().getName() + "/" + mainFile->getName()).str(); in ModuleInitFunction()
H A DCGDebugInfo.cpp551 MainFileDir = std::string(MainFile->getDir().getName()); in CreateCompileUnit()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp10288 AddFilesFromIncludeDir(CurFile->getDir().getName(), false, in CodeCompleteIncludedFile()
/src/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp9983 if (Cache->OrigEntry && Cache->OrigEntry->getDir()) { in Import()