Home
last modified time | relevance | path

Searched refs:ModuleMapPath (Results 1 – 11 of 11) sorted by relevance

/llvm-project/clang-tools-extra/modularize/
H A DModuleAssistant.cpp254 static bool writeModuleMap(llvm::StringRef ModuleMapPath, in writeModuleMap()
256 llvm::SmallString<256> HeaderDirectory(ModuleMapPath); in writeModuleMap()
264 llvm::sys::path::append(FilePath, ModuleMapPath); in writeModuleMap()
267 FilePath = ModuleMapPath; in writeModuleMap()
284 OS << "// " << ModuleMapPath << "\n"; in writeModuleMap()
300 bool createModuleMap(llvm::StringRef ModuleMapPath, in createModuleMap()
314 return writeModuleMap(ModuleMapPath, HeaderPrefix, RootModule.get());
252 writeModuleMap(llvm::StringRef ModuleMapPath,llvm::StringRef HeaderPrefix,Module * RootModule) writeModuleMap() argument
298 createModuleMap(llvm::StringRef ModuleMapPath,llvm::ArrayRef<std::string> HeaderFileNames,llvm::ArrayRef<std::string> ProblemFileNames,DependencyMap & Dependencies,llvm::StringRef HeaderPrefix,llvm::StringRef RootModuleName) createModuleMap() argument
H A DCoverageChecker.cpp145 CoverageChecker::CoverageChecker(StringRef ModuleMapPath, in CoverageChecker() argument
149 : ModuleMapPath(ModuleMapPath), IncludePaths(IncludePaths), in CoverageChecker()
156 StringRef ModuleMapPath, std::vector<std::string> &IncludePaths, in createCoverageChecker() argument
159 return std::make_unique<CoverageChecker>(ModuleMapPath, IncludePaths, in createCoverageChecker()
321 ModuleMapDirectory = ModularizeUtilities::getDirectoryFromPath(ModuleMapPath); in collectFileSystemHeaders()
418 llvm::errs() << "warning: " << ModuleMapPath in findUnaccountedForHeaders()
H A DCoverageChecker.h42 llvm::StringRef ModuleMapPath; variable
78 CoverageChecker(llvm::StringRef ModuleMapPath,
94 llvm::StringRef ModuleMapPath, std::vector<std::string> &IncludePaths,
H A DModularize.h47 bool createModuleMap(llvm::StringRef ModuleMapPath,
H A DModularize.cpp284 static cl::opt<std::string> ModuleMapPath( variable
829 if (ModuleMapPath.length() != 0) { in main()
830 if (!createModuleMap(ModuleMapPath, ModUtil->HeaderFileNames, in main()
/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h638 /// \param ModuleMapPath A path that when combined with \c ModuleName
644 StringRef ModuleMapPath);
753 /// \param ModuleMapPath A path that when combined with \c ModuleName
761 StringRef ModuleMapPath,
/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp240 StringRef ModuleMapPath = ModuleMap->getName(); in getPrebuiltImplicitModuleFileName()
247 getCachedModuleFileNameImpl(ModuleName, ModuleMapPath, CachePath); in getPrebuiltImplicitModuleFileName()
255 StringRef ModuleMapPath) { in getCachedModuleFileName()
256 return getCachedModuleFileNameImpl(ModuleName, ModuleMapPath, in getCachedModuleFileName() argument
261 StringRef ModuleMapPath, in getCachedModuleFileNameImpl()
273 // Construct the name <ModuleName>-<hash of ModuleMapPath>.pcm which should in getCachedModuleFileNameImpl()
280 SmallString<128> CanonicalPath(ModuleMapPath); in getCachedModuleFileNameImpl()
241 StringRef ModuleMapPath = ModuleMap->getName(); getPrebuiltImplicitModuleFileName() local
262 getCachedModuleFileNameImpl(StringRef ModuleName,StringRef ModuleMapPath,StringRef CachePath) getCachedModuleFileNameImpl() argument
/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h170 std::string ModuleMapPath;
164 std::string ModuleMapPath; global() variable
H A DASTReader.h129 virtual void ReadModuleMapFile(StringRef ModuleMapPath) {}
269 void ReadModuleMapFile(StringRef ModuleMapPath) override;
127 ReadModuleMapFile(StringRef ModuleMapPath) ReadModuleMapFile() argument
/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp626 void ReadModuleMapFile(StringRef ModuleMapPath) override { in ReadLanguageOptions()
627 Out.indent(2) << "Module map file: " << ModuleMapPath << "\n"; in ReadLanguageOptions()
621 ReadModuleMapFile(StringRef ModuleMapPath) ReadModuleMapFile() argument
/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp172 void ChainedASTReaderListener::ReadModuleMapFile(StringRef ModuleMapPath) { in ReadModuleMapFile()
173 First->ReadModuleMapFile(ModuleMapPath);
174 Second->ReadModuleMapFile(ModuleMapPath);
4390 F.ModuleMapPath = ReadPath(F, Record, Idx);
4420 << (ImportedBy ? ImportedBy->FileName : "") << F.ModuleMapPath in SkipCursorToBlock()
4427 << llvm::sys::path::parent_path(F.ModuleMapPath); in SkipCursorToBlock()
4436 auto StoredModMap = FileMgr.getOptionalFileRef(F.ModuleMapPath); in ReadAST()
4445 << ModMap->getName() << F.ModuleMapPath << NotImported; in ReadAST()
4488 Listener->ReadModuleMapFile(F.ModuleMapPath); in ReadAST()
6079 CurrentModule->PresumedModuleMapFile = F.ModuleMapPath; in ParseTargetOptions()
169 ReadModuleMapFile(StringRef ModuleMapPath) ReadModuleMapFile() argument
[all...]