| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | FileManagerTest.cpp | 105 EXPECT_EQ(".", file.getDir().getName()); in TEST_F() 108 EXPECT_EQ("x/y", file.getDir().getName()); in TEST_F() 161 EXPECT_EQ("/tmp", file->getDir().getName()); in TEST_F() 166 EXPECT_EQ(DirName, file->getDir().getName()); in TEST_F() 179 EXPECT_EQ("virtual/dir", file->getDir().getName()); in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 353 NestedModuleMapDirName = Dir.getDir()->getName(); in lookupModule() 391 return getDir()->getName(); in getName() 420 &File->getFileEntry(), Dir ? Dir : File->getFileEntry().getDir(), in getFileAndSuggestModule() 454 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), in LookupFile() 667 StringRef FrameworkPath = File->getFileEntry().getDir()->getName(); in DoFrameworkLookup() 695 if (!HS.findUsableModuleForHeader(&File->getFileEntry(), getDir(), in DoFrameworkLookup() 1616 SmallString<128> PrivateFilename(File->getDir()->getName()); in getPrivateModuleMap() 1644 Dir = FakeFile.getDir(); in loadModuleMapFile() 1649 Dir = FileMgr.getOptionalDirectoryRef(File->getDir()->getName()); in loadModuleMapFile() 1865 SmallString<128> Dir = SearchDir.getDir()->getName(); in loadSubdirectoryModuleMaps() [all …]
|
| H A D | InitHeaderSearch.cpp | 498 if (SeenDirs.insert(CurEntry.getDir()).second) in RemoveDuplicates() 532 isSame = SearchEntry.getDir() == CurEntry.getDir(); in RemoveDuplicates()
|
| H A D | ModuleMap.cpp | 257 const DirectoryEntry *UmbrellaDir = &File->getDir().getDirEntry(); in resolveHeader() 392 return File->getDir() == BuiltinIncludeDir && in isBuiltinHeader() 414 const DirectoryEntry *Dir = File->getDir(); in findHeaderInUmbrellaDirs() 719 const DirectoryEntry *Dir = Header->getDir(); in isHeaderUnavailableInModule() 1147 UmbrellaDirs[UmbrellaHeader->getDir()] = Mod; in setUmbrellaHeader() 2201 : (*File)->getDir(), in parseExternModuleDecl()
|
| H A D | PPLexerChange.cpp | 229 StringRef FilePath = File->getDir()->getName(); in computeRelativePath()
|
| H A D | PPDirectives.cpp | 988 Includers.push_back(std::make_pair(FileEnt, FileEnt->getDir())); in LookupFile() 998 Includers.push_back(std::make_pair(FileEnt, FileEnt->getDir())); in LookupFile()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | FileEntry.h | 66 DirectoryEntryRef getDir() const { return *ME->second->Dir; } in getDir() function 371 const DirectoryEntry *getDir() const { return Dir; }
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | DirectoryLookup.h | 90 const DirectoryEntry *getDir() const { in getDir() function
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ModuleDependencyCollector.cpp | 88 StringRef UmbrellaDir = Header->getDir()->getName(); in moduleMapAddUmbrellaHeader()
|
| H A D | PrecompiledPreamble.cpp | 126 if (IncludingFile->getDir()) in InclusionDirective() 127 NotFoundRelativeTo(IncludingFile->getDir()); in InclusionDirective() 135 NotFoundRelativeTo(Dir.getDir()); in InclusionDirective()
|
| H A D | FrontendAction.cpp | 466 if (HS.getModuleMap().canInferFrameworkModule(ModuleMap->getDir())) { in loadModuleMapForModuleBuild() 467 SmallString<128> InferredFrameworkPath = ModuleMap->getDir()->getName(); in loadModuleMapForModuleBuild()
|
| H A D | CompilerInstance.cpp | 1272 SmallString<128> PublicFilename(File->getDir()->getName()); in getPublicModuleMap()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | StdLib.cpp | 327 Path = DL.getDir()->getName(); in add()
|
| /llvm-project-15.0.7/clang-tools-extra/modularize/ |
| H A D | ModularizeUtilities.cpp | 276 const DirectoryEntry *Dir = ModuleMapEntry->getDir(); in loadModuleMap()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Module.cpp | 246 return {"", "", U.Entry->getDir()}; in getUmbrellaDir()
|
| H A D | FileManager.cpp | 517 Insertion.first->second = FileEntryRef::MapValue(*BFE, VF.getDir()); in getBypassFile()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | Parser.cpp | 2546 if (FE && llvm::sys::path::parent_path(FE->getDir().getName()) in ParseModuleImport()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 10006 AddFilesFromIncludeDir(IncludeDir.getDir()->getName(), IsSystem, in CodeCompleteIncludedFile() 10024 if (CurFile && CurFile->getDir()) in CodeCompleteIncludedFile() 10025 AddFilesFromIncludeDir(CurFile->getDir()->getName(), false, in CodeCompleteIncludedFile()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 3870 (mainFile->getDir().getName() + "/" + mainFile->getName()).str(); in ModuleInitFunction()
|
| H A D | CGDebugInfo.cpp | 526 MainFileDir = std::string(MainFile->getDir().getName()); in CreateCompileUnit()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 9395 if (Cache->OrigEntry && Cache->OrigEntry->getDir()) { in Import()
|