Home
last modified time | relevance | path

Searched refs:ModMap (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Lex/
DHeaderSearch.cpp61 ModMap(SourceMgr, Diags, LangOpts, Target, *this) { in HeaderSearch()
167 Module *Module = ModMap.findModule(ModuleName); in lookupModule()
201 Module = ModMap.findModule(ModuleName); in lookupModule()
214 Module = ModMap.findModule(ModuleName); in lookupModule()
229 Module = ModMap.findModule(ModuleName); in lookupModule()
532 ModMap.setTarget(Target); in setTarget()
1148 return ModMap.findModuleForHeader(File); in findModuleForHeader()
1242 if (ModMap.parseModuleMapFile(File, IsSystem, Dir)) { in loadModuleMapFileImpl()
1249 if (ModMap.parseModuleMapFile(PMMFile, IsSystem, Dir)) { in loadModuleMapFileImpl()
1281 if (Module *Module = ModMap.findModule(Name)) in loadFrameworkModule()
[all …]
DPPLexerChange.cpp487 ModuleMap &ModMap = getHeaderSearchInfo().getModuleMap(); in HandleEndOfFile() local
505 if (!ModMap.isHeaderInUnavailableModule(Header)) { in HandleEndOfFile()
634 ModuleMap &ModMap = getHeaderSearchInfo().getModuleMap(); in EnterSubmodule() local
635 ModMap.resolveExports(M, /*Complain=*/false); in EnterSubmodule()
636 ModMap.resolveUses(M, /*Complain=*/false); in EnterSubmodule()
637 ModMap.resolveConflicts(M, /*Complain=*/false); in EnterSubmodule()
DModuleMap.cpp848 void ModuleMap::setInferredModuleAllowedBy(Module *M, const FileEntry *ModMap) { in setInferredModuleAllowedBy() argument
850 InferredModuleAllowedBy[M] = ModMap; in setInferredModuleAllowedBy()
/external/clang/include/clang/Lex/
DHeaderSearch.h218 mutable ModuleMap ModMap; variable
590 ModuleMap &getModuleMap() { return ModMap; } in getModuleMap()
593 const ModuleMap &getModuleMap() const { return ModMap; } in getModuleMap()
/external/clang/lib/Frontend/
DFrontendActions.cpp185 ModuleMap &ModMap, clang::Module *Module, in collectModuleHeaderIncludes() argument
234 if (ModMap.isHeaderUnavailableInModule(Header, Module)) in collectModuleHeaderIncludes()
261 LangOpts, FileMgr, ModMap, *Sub, Includes)) in collectModuleHeaderIncludes()
DCompilerInstance.cpp927 ModuleMap &ModMap in compileModuleImpl() local
1013 ModMap.getContainingModuleMapFile(Module)) { in compileModuleImpl()
1035 ModMap.getModuleMapFileForUniquing(Module), Module->IsSystem); in compileModuleImpl()
/external/clang/lib/Sema/
DSema.cpp748 ModuleMap &ModMap = PP.getHeaderSearchInfo().getModuleMap(); in ActOnEndOfTranslationUnit() local
759 ModMap.resolveExports(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit()
760 ModMap.resolveUses(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit()
761 ModMap.resolveConflicts(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit()
/external/clang/lib/Serialization/
DASTReader.cpp1623 ModuleMap &ModMap = in ReadData() local
1633 ModMap.addHeader(Mod, H, HeaderRole, /*Imported*/true); in ReadData()
3242 const FileEntry *ModMap = M ? Map.getModuleMapFileForUniquing(M) : nullptr; in ReadModuleMapFileBlock() local
3243 if (!ModMap) { in ReadModuleMapFileBlock()
3263 if (StoredModMap == nullptr || StoredModMap != ModMap) { in ReadModuleMapFileBlock()
3264 assert(ModMap && "found module is missing module map file"); in ReadModuleMapFileBlock()
3269 << ModMap->getName() << F.ModuleMapPath; in ReadModuleMapFileBlock()
3290 for (const FileEntry *ModMap : *AdditionalModuleMaps) { in ReadModuleMapFileBlock()
3293 if (!AdditionalStoredMaps.erase(ModMap)) { in ReadModuleMapFileBlock()
3296 << F.ModuleName << /*new*/0 << ModMap->getName(); in ReadModuleMapFileBlock()
[all …]
DASTWriter.cpp2672 ModuleMap &ModMap = PP->getHeaderSearchInfo().getModuleMap(); in inferSubmoduleIDFromLocation() local
2674 = ModMap.inferModuleFromLocation(FullSourceLoc(Loc,PP->getSourceManager())); in inferSubmoduleIDFromLocation()