Lines Matching refs:MDC
173 if (MDC.ContextHash.empty()) { in FileChanged()
174 MDC.ContextHash = MDC.ScanInstance.getInvocation().getModuleHash(); in FileChanged()
175 MDC.Consumer.handleContextHash(MDC.ContextHash); in FileChanged()
178 SourceManager &SM = MDC.ScanInstance.getSourceManager(); in FileChanged()
185 MDC.FileDeps.push_back( in FileChanged()
197 MDC.FileDeps.push_back(std::string(FileName)); in InclusionDirective()
214 if (MDC.isPrebuiltModule(TopLevelModule)) in handleImport()
221 FileID MainFileID = MDC.ScanInstance.getSourceManager().getMainFileID(); in EndOfMainFile()
222 MDC.MainFile = std::string(MDC.ScanInstance.getSourceManager() in EndOfMainFile()
226 if (!MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in EndOfMainFile()
227 MDC.FileDeps.push_back( in EndOfMainFile()
228 MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude); in EndOfMainFile()
240 MDC.Consumer.handleDependencyOutputOpts(*MDC.Opts); in EndOfMainFile()
242 for (auto &&I : MDC.ModularDeps) in EndOfMainFile()
243 MDC.Consumer.handleModuleDependency(*I.second); in EndOfMainFile()
245 for (auto &&I : MDC.FileDeps) in EndOfMainFile()
246 MDC.Consumer.handleFileDependency(I); in EndOfMainFile()
249 MDC.Consumer.handlePrebuiltModuleDependency(PrebuiltModuleDep{I}); in EndOfMainFile()
256 auto ModI = MDC.ModularDeps.insert({M, nullptr}); in handleTopLevelModule()
268 const FileEntry *ModuleMap = MDC.ScanInstance.getPreprocessor() in handleTopLevelModule()
281 MDC.ScanInstance.getASTReader()->getModuleManager().lookup( in handleTopLevelModule()
283 MDC.ScanInstance.getASTReader()->visitInputFiles( in handleTopLevelModule()
321 MDC.ScanInstance.getASTReader()->visitTopLevelModuleMaps( in handleTopLevelModule()
339 MD.BuildInvocation = MDC.makeInvocationForModuleBuildWithoutPaths( in handleTopLevelModule()
341 if (MDC.OptimizeArgs) in handleTopLevelModule()
343 *MDC.ScanInstance.getASTReader(), *MF); in handleTopLevelModule()
345 MD.HadSerializedDiagnostics = !MDC.OriginalInvocation.getDiagnosticOpts() in handleTopLevelModule()
348 !MDC.OriginalInvocation.getDependencyOutputOpts().OutputFile.empty(); in handleTopLevelModule()
388 if (MDC.isPrebuiltModule(Import->getTopLevelModule())) in addModulePrebuiltDeps()
408 !MDC.isPrebuiltModule(Import)) { in addModuleDep()