Lines Matching full:mdc
451 if (MDC.ContextHash.empty()) { in LexedFileChanged()
452 MDC.ContextHash = MDC.ScanInstance.getInvocation().getModuleHash(); in LexedFileChanged()
453 MDC.Consumer.handleContextHash(MDC.ContextHash); in LexedFileChanged()
456 SourceManager &SM = MDC.ScanInstance.getSourceManager(); in LexedFileChanged()
462 MDC.addFileDep(llvm::sys::path::remove_leading_dotslash(*Filename)); in LexedFileChanged()
473 MDC.addFileDep(FileName); in InclusionDirective()
481 if (MDC.ScanInstance.getPreprocessor().isInImportingCXXNamedModules()) { in moduleImport()
485 MDC.RequiredStdCXXModules.push_back(RequiredModule); in moduleImport()
498 if (MDC.isPrebuiltModule(TopLevelModule)) in handleImport()
499 MDC.DirectPrebuiltModularDeps.insert( in handleImport()
502 MDC.DirectModularDeps.insert(TopLevelModule); in handleImport()
506 FileID MainFileID = MDC.ScanInstance.getSourceManager().getMainFileID(); in EndOfMainFile()
507 MDC.MainFile = std::string(MDC.ScanInstance.getSourceManager() in EndOfMainFile()
511 auto &PP = MDC.ScanInstance.getPreprocessor(); in EndOfMainFile()
521 MDC.RequiredStdCXXModules.push_back(ProvidedModule); in EndOfMainFile()
523 MDC.ProvidedStdCXXModule = ProvidedModule; in EndOfMainFile()
526 if (!MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in EndOfMainFile()
527 MDC.addFileDep(MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude); in EndOfMainFile()
530 MDC.ScanInstance.getPreprocessor().getAffectingClangModules()) in EndOfMainFile()
531 if (!MDC.isPrebuiltModule(M)) in EndOfMainFile()
532 MDC.DirectModularDeps.insert(M); in EndOfMainFile()
534 for (const Module *M : MDC.DirectModularDeps) in EndOfMainFile()
537 MDC.Consumer.handleDependencyOutputOpts(*MDC.Opts); in EndOfMainFile()
539 if (MDC.IsStdModuleP1689Format) in EndOfMainFile()
540 MDC.Consumer.handleProvidedAndRequiredStdCXXModules( in EndOfMainFile()
541 MDC.ProvidedStdCXXModule, MDC.RequiredStdCXXModules); in EndOfMainFile()
543 for (auto &&I : MDC.ModularDeps) in EndOfMainFile()
544 MDC.Consumer.handleModuleDependency(*I.second); in EndOfMainFile()
546 for (const Module *M : MDC.DirectModularDeps) { in EndOfMainFile()
547 auto It = MDC.ModularDeps.find(M); in EndOfMainFile()
549 if (It != MDC.ModularDeps.end()) in EndOfMainFile()
550 MDC.Consumer.handleDirectModuleDependency(MDC.ModularDeps[M]->ID); in EndOfMainFile()
553 for (auto &&I : MDC.FileDeps) in EndOfMainFile()
554 MDC.Consumer.handleFileDependency(I); in EndOfMainFile()
556 for (auto &&I : MDC.DirectPrebuiltModularDeps) in EndOfMainFile()
557 MDC.Consumer.handlePrebuiltModuleDependency(I.second); in EndOfMainFile()
572 auto ModI = MDC.ModularDeps.insert({M, nullptr}); in handleTopLevelModule()
587 MDC.ScanInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in handleTopLevelModule()
598 MDC.ScanInstance.getASTReader()->getModuleManager().lookup( in handleTopLevelModule()
600 MDC.ScanInstance.getASTReader()->visitInputFileInfos( in handleTopLevelModule()
609 MDC.addFileDep(MD, ModuleMap->getName()); in handleTopLevelModule()
612 MDC.addFileDep(MD, IFI.Filename); in handleTopLevelModule()
620 MDC.ScanInstance.getASTReader()->visitInputFileInfos( in handleTopLevelModule()
632 MDC.getInvocationAdjustedForModuleBuildWithoutOutputs( in handleTopLevelModule()
634 if (any(MDC.OptimizeArgs & (ScanningOptimizations::HeaderSearch | in handleTopLevelModule()
637 *MDC.ScanInstance.getASTReader(), *MF, in handleTopLevelModule()
638 MDC.PrebuiltModuleVFSMap, in handleTopLevelModule()
639 MDC.OptimizeArgs); in handleTopLevelModule()
640 if (any(MDC.OptimizeArgs & ScanningOptimizations::SystemWarnings)) in handleTopLevelModule()
646 MDC.associateWithContextHash(CI, MD); in handleTopLevelModule()
649 MDC.addOutputPaths(CI, MD); in handleTopLevelModule()
684 if (MDC.isPrebuiltModule(Import->getTopLevelModule())) in addModulePrebuiltDeps()
704 !MDC.isPrebuiltModule(Import)) { in addModuleDep()
728 !MDC.isPrebuiltModule(Affecting)) { in addAffectingClangModule()