clang  14.0.0git
Functions
clang::tooling::dependencies::detail Namespace Reference

Functions

void collectPCMAndModuleMapPaths (llvm::ArrayRef< ModuleID > Modules, std::function< StringRef(ModuleID)> LookupPCMPath, std::function< const ModuleDeps &(ModuleID)> LookupModuleDeps, std::vector< std::string > &PCMPaths, std::vector< std::string > &ModMapPaths)
 Collect the paths of PCM and module map files for the modules in Modules transitively. More...
 

Function Documentation

◆ collectPCMAndModuleMapPaths()

void clang::tooling::dependencies::detail::collectPCMAndModuleMapPaths ( llvm::ArrayRef< ModuleID Modules,
std::function< StringRef(ModuleID)>  LookupPCMPath,
std::function< const ModuleDeps &(ModuleID)>  LookupModuleDeps,
std::vector< std::string > &  PCMPaths,
std::vector< std::string > &  ModMapPaths 
)

Collect the paths of PCM and module map files for the modules in Modules transitively.

Referenced by clang::tooling::dependencies::FullDependencies::getAdditionalArgs(), and clang::tooling::dependencies::ModuleDeps::getCanonicalCommandLine().