/external/llvm-project/clang-tools-extra/modularize/ |
D | ModularizeUtilities.cpp | 121 std::unique_ptr<clang::ModuleMap> &ModMap = ModuleMaps[ModuleMapIndex]; in doCoverageCheck() local 124 ModMap.get()); in doCoverageCheck() 291 std::unique_ptr<ModuleMap> ModMap; in loadModuleMap() local 292 ModMap.reset(new ModuleMap(*SourceMgr, *Diagnostics, *LangOpts, in loadModuleMap() 296 if (ModMap->parseModuleMapFile(ModuleMapEntry, false, Dir)) { in loadModuleMap() 306 if (!collectModuleMapHeaders(ModMap.get())) in loadModuleMap() 310 ModuleMaps.push_back(std::move(ModMap)); in loadModuleMap() 325 bool ModularizeUtilities::collectModuleMapHeaders(clang::ModuleMap *ModMap) { in collectModuleMapHeaders() argument 326 for (ModuleMap::module_iterator I = ModMap->module_begin(), in collectModuleMapHeaders() 327 E = ModMap->module_end(); in collectModuleMapHeaders()
|
D | CoverageChecker.cpp | 150 ModMap(ModuleMap) {} in CoverageChecker() 197 for (ModuleMap::module_iterator I = ModMap->module_begin(), in collectModuleHeaders() 198 E = ModMap->module_end(); in collectModuleHeaders()
|
D | CoverageChecker.h | 51 clang::ModuleMap *ModMap; variable
|
D | ModularizeUtilities.h | 154 bool collectModuleMapHeaders(clang::ModuleMap *ModMap);
|
/external/llvm-project/clang/lib/Lex/ |
D | HeaderSearch.cpp | 87 ModMap(SourceMgr, Diags, LangOpts, Target, *this) {} in HeaderSearch() 235 Module *Module = ModMap.findModule(ModuleName); in lookupModule() 292 Module = ModMap.findModule(ModuleName); in lookupModule() 305 Module = ModMap.findModule(ModuleName); in lookupModule() 321 Module = ModMap.findModule(ModuleName); in lookupModule() 653 ModMap.setTarget(Target); in setTarget() 1284 ModMap.resolveHeaderDirectives(File); in ShouldEnterIncludeFile() 1304 TryEnterHdr = ModMap.isBuiltinHeader(File); in ShouldEnterIncludeFile() 1419 return ModMap.findModuleForHeader(File, AllowTextual); in findModuleForHeader() 1429 return ModMap.findAllModulesForHeader(File); in findAllModulesForHeader() [all …]
|
D | PPLexerChange.cpp | 273 ModuleMap &ModMap = getHeaderSearchInfo().getModuleMap(); in diagnoseMissingHeaderInUmbrellaDir() local 291 if (!ModMap.isHeaderInUnavailableModule(*Header)) { in diagnoseMissingHeaderInUmbrellaDir() 662 ModuleMap &ModMap = getHeaderSearchInfo().getModuleMap(); in EnterSubmodule() local 663 ModMap.resolveExports(M, /*Complain=*/false); in EnterSubmodule() 664 ModMap.resolveUses(M, /*Complain=*/false); in EnterSubmodule() 665 ModMap.resolveConflicts(M, /*Complain=*/false); in EnterSubmodule()
|
D | ModuleMap.cpp | 1260 void ModuleMap::setInferredModuleAllowedBy(Module *M, const FileEntry *ModMap) { in setInferredModuleAllowedBy() argument 1262 InferredModuleAllowedBy[M] = ModMap; in setInferredModuleAllowedBy()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 61 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 …]
|
D | PPLexerChange.cpp | 487 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()
|
D | ModuleMap.cpp | 848 void ModuleMap::setInferredModuleAllowedBy(Module *M, const FileEntry *ModMap) { in setInferredModuleAllowedBy() argument 850 InferredModuleAllowedBy[M] = ModMap; in setInferredModuleAllowedBy()
|
/external/skia/tools/sk_app/mac/ |
D | Window_mac.mm | 335 struct ModMap { 341 for (const ModMap& cur : {ModMap{skui::ModifierKey::kCommand, skui::Key::kSuper}, 342 ModMap{skui::ModifierKey::kShift, skui::Key::kShift}, 343 ModMap{skui::ModifierKey::kControl, skui::Key::kCtrl}, 344 ModMap{skui::ModifierKey::kOption, skui::Key::kOption}}) {
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 218 mutable ModuleMap ModMap; variable 590 ModuleMap &getModuleMap() { return ModMap; } in getModuleMap() 593 const ModuleMap &getModuleMap() const { return ModMap; } in getModuleMap()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | HeaderSearch.h | 235 mutable ModuleMap ModMap; variable 699 ModuleMap &getModuleMap() { return ModMap; } in getModuleMap() 702 const ModuleMap &getModuleMap() const { return ModMap; } in getModuleMap()
|
D | ModuleMap.h | 604 void setInferredModuleAllowedBy(Module *M, const FileEntry *ModMap);
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 185 ModuleMap &ModMap, clang::Module *Module, in collectModuleHeaderIncludes() argument 234 if (ModMap.isHeaderUnavailableInModule(Header, Module)) in collectModuleHeaderIncludes() 261 LangOpts, FileMgr, ModMap, *Sub, Includes)) in collectModuleHeaderIncludes()
|
D | CompilerInstance.cpp | 927 ModuleMap &ModMap in compileModuleImpl() local 1013 ModMap.getContainingModuleMapFile(Module)) { in compileModuleImpl() 1035 ModMap.getModuleMapFileForUniquing(Module), Module->IsSystem); in compileModuleImpl()
|
/external/llvm-project/clang/lib/Frontend/ |
D | FrontendAction.cpp | 317 ModuleMap &ModMap, clang::Module *Module, SmallVectorImpl<char> &Includes) { in collectModuleHeaderIncludes() argument 323 ModMap.resolveHeaderDirectives(Module); in collectModuleHeaderIncludes() 381 if (ModMap.isHeaderUnavailableInModule(*Header, Module)) in collectModuleHeaderIncludes() 420 LangOpts, FileMgr, Diag, ModMap, *Sub, Includes)) in collectModuleHeaderIncludes()
|
D | CompilerInstance.cpp | 1219 ModuleMap &ModMap in compileModule() local 1223 ModMap.getContainingModuleMapFile(Module)) { in compileModule() 1235 ModMap.getModuleMapFileForUniquing(Module)->getName(), in compileModule() 1253 ModMap.getModuleMapFileForUniquing(Module)->getName(), in compileModule()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 748 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/ |
D | ASTReader.cpp | 1623 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 …]
|
D | ASTWriter.cpp | 2672 ModuleMap &ModMap = PP->getHeaderSearchInfo().getModuleMap(); in inferSubmoduleIDFromLocation() local 2674 = ModMap.inferModuleFromLocation(FullSourceLoc(Loc,PP->getSourceManager())); in inferSubmoduleIDFromLocation()
|
/external/llvm-project/clang/lib/Sema/ |
D | Sema.cpp | 1115 ModuleMap &ModMap = PP.getHeaderSearchInfo().getModuleMap(); in ActOnEndOfTranslationUnit() local 1126 ModMap.resolveExports(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit() 1127 ModMap.resolveUses(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit() 1128 ModMap.resolveConflicts(Mod, /*Complain=*/false); in ActOnEndOfTranslationUnit()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReader.cpp | 1909 ModuleMap &ModMap = in ReadData() local 1920 ModMap.addHeader(Mod, H, HeaderRole, /*Imported*/true); in ReadData() 3904 const FileEntry *ModMap = M ? Map.getModuleMapFileForUniquing(M) : nullptr; in ReadModuleMapFileBlock() local 3906 if (!PP.getPreprocessorOpts().DisablePCHValidation && !ModMap) { in ReadModuleMapFileBlock() 3933 if (!StoredModMap || *StoredModMap != ModMap) { in ReadModuleMapFileBlock() 3934 assert(ModMap && "found module is missing module map file"); in ReadModuleMapFileBlock() 3941 << ModMap->getName() << F.ModuleMapPath << NotImported; in ReadModuleMapFileBlock() 3961 for (const FileEntry *ModMap : *AdditionalModuleMaps) { in ReadModuleMapFileBlock() 3964 if (!AdditionalStoredMaps.erase(ModMap)) { in ReadModuleMapFileBlock() 3967 << F.ModuleName << /*new*/0 << ModMap->getName(); in ReadModuleMapFileBlock() [all …]
|