Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DHeaderSearch.cpp60 FrameworkMap(64), ModMap(SourceMgr, Diags, LangOpts, Target, *this), in HeaderSearch()
168 Module *Module = ModMap.findModule(ModuleName); in lookupModule()
202 Module = ModMap.findModule(ModuleName); in lookupModule()
215 Module = ModMap.findModule(ModuleName); in lookupModule()
230 Module = ModMap.findModule(ModuleName); in lookupModule()
531 ModMap.setTarget(Target); in setTarget()
1146 return ModMap.findModuleForHeader(File); in findModuleForHeader()
1240 if (ModMap.parseModuleMapFile(File, IsSystem, Dir)) { in loadModuleMapFileImpl()
1247 if (ModMap.parseModuleMapFile(PMMFile, IsSystem, Dir)) { in loadModuleMapFileImpl()
1279 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()
635 ModuleMap &ModMap = getHeaderSearchInfo().getModuleMap(); in EnterSubmodule() local
636 ModMap.resolveExports(M, /*Complain=*/false); in EnterSubmodule()
637 ModMap.resolveUses(M, /*Complain=*/false); in EnterSubmodule()
638 ModMap.resolveConflicts(M, /*Complain=*/false); in EnterSubmodule()
DPPDirectives.cpp579 ModuleMap &ModMap = HeaderInfo.getModuleMap(); in getModuleForLocation() local
590 return ModMap.findModuleForHeader(EntryOfIncl).getModule(); in getModuleForLocation()
DModuleMap.cpp851 void ModuleMap::setInferredModuleAllowedBy(Module *M, const FileEntry *ModMap) { in setInferredModuleAllowedBy() argument
853 InferredModuleAllowedBy[M] = ModMap; in setInferredModuleAllowedBy()
/external/clang/include/clang/Lex/
DHeaderSearch.h218 mutable ModuleMap ModMap; variable
591 ModuleMap &getModuleMap() { return ModMap; } in getModuleMap()
594 const ModuleMap &getModuleMap() const { return ModMap; } in getModuleMap()
/external/clang/lib/Frontend/
DFrontendActions.cpp183 ModuleMap &ModMap, clang::Module *Module, in collectModuleHeaderIncludes() argument
234 if (ModMap.isHeaderUnavailableInModule(Header, Module)) in collectModuleHeaderIncludes()
263 LangOpts, FileMgr, ModMap, *Sub, Includes)) in collectModuleHeaderIncludes()
DCompilerInstance.cpp891 ModuleMap &ModMap in compileModuleImpl() local
977 ModMap.getContainingModuleMapFile(Module)) { in compileModuleImpl()
999 ModMap.getModuleMapFileForUniquing(Module), Module->IsSystem); in compileModuleImpl()
/external/clang/lib/Sema/
DSema.cpp751 ModuleMap &ModMap = PP.getHeaderSearchInfo().getModuleMap(); in ActOnEndOfTranslationUnit() local
762 ModMap.resolveExports(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit()
763 ModMap.resolveUses(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit()
764 ModMap.resolveConflicts(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit()
/external/clang/lib/Serialization/
DASTReader.cpp1603 ModuleMap &ModMap = in ReadData() local
1613 ModMap.addHeader(Mod, H, HeaderRole, /*Imported*/true); in ReadData()
3238 const FileEntry *ModMap = M ? Map.getModuleMapFileForUniquing(M) : nullptr; in ReadModuleMapFileBlock() local
3239 if (!ModMap) { in ReadModuleMapFileBlock()
3259 if (StoredModMap == nullptr || StoredModMap != ModMap) { in ReadModuleMapFileBlock()
3260 assert(ModMap && "found module is missing module map file"); in ReadModuleMapFileBlock()
3265 << ModMap->getName() << F.ModuleMapPath; in ReadModuleMapFileBlock()
3286 for (const FileEntry *ModMap : *AdditionalModuleMaps) { in ReadModuleMapFileBlock()
3289 if (!AdditionalStoredMaps.erase(ModMap)) { in ReadModuleMapFileBlock()
3292 << F.ModuleName << /*new*/0 << ModMap->getName(); in ReadModuleMapFileBlock()
[all …]
DASTWriter.cpp2594 ModuleMap &ModMap = PP->getHeaderSearchInfo().getModuleMap(); in inferSubmoduleIDFromLocation() local
2596 = ModMap.inferModuleFromLocation(FullSourceLoc(Loc,PP->getSourceManager())); in inferSubmoduleIDFromLocation()