• Home
  • Raw
  • Download

Lines Matching refs:Diags

136                                DiagnosticsEngine &Diags) {  in SetUpDiagnosticLog()  argument
146 Diags.Report(diag::warn_fe_cc_log_diagnostics_failure) in SetUpDiagnosticLog()
161 assert(Diags.ownsClient()); in SetUpDiagnosticLog()
162 Diags.setClient( in SetUpDiagnosticLog()
163 new ChainedDiagnosticConsumer(Diags.takeClient(), std::move(Logger))); in SetUpDiagnosticLog()
167 DiagnosticsEngine &Diags, in SetupSerializedDiagnostics() argument
172 if (Diags.ownsClient()) { in SetupSerializedDiagnostics()
173 Diags.setClient(new ChainedDiagnosticConsumer( in SetupSerializedDiagnostics()
174 Diags.takeClient(), std::move(SerializedConsumer))); in SetupSerializedDiagnostics()
176 Diags.setClient(new ChainedDiagnosticConsumer( in SetupSerializedDiagnostics()
177 Diags.getClient(), std::move(SerializedConsumer))); in SetupSerializedDiagnostics()
194 Diags(new DiagnosticsEngine(DiagID, Opts)); in createDiagnostics() local
199 Diags->setClient(Client, ShouldOwnClient); in createDiagnostics()
201 Diags->setClient(new TextDiagnosticPrinter(llvm::errs(), Opts)); in createDiagnostics()
205 Diags->setClient(new VerifyDiagnosticConsumer(*Diags)); in createDiagnostics()
209 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
212 SetupSerializedDiagnostics(Opts, *Diags, in createDiagnostics()
216 ProcessWarningOptions(*Diags, *Opts); in createDiagnostics()
218 return Diags; in createDiagnostics()
239 static void InitializeFileRemapping(DiagnosticsEngine &Diags, in InitializeFileRemapping() argument
249 Diags.Report(diag::err_fe_remap_missing_from_file) << RB.first; in InitializeFileRemapping()
266 Diags.Report(diag::err_fe_remap_missing_to_file) << RF.first << RF.second; in InitializeFileRemapping()
274 Diags.Report(diag::err_fe_remap_missing_from_file) << RF.first; in InitializeFileRemapping()
702 DiagnosticsEngine &Diags, in InitializeSourceManager() argument
723 Diags.Report(diag::err_fe_error_reading) << InputFile; in InitializeSourceManager()
739 Diags.Report(diag::err_cannot_open_file) << InputFile in InitializeSourceManager()
751 Diags.Report(diag::err_fe_error_reading_stdin) << EC.message(); in InitializeSourceManager()
1004 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in compileAndLoadModule() local
1007 Diags.Report(ModuleNameLoc, diag::err_module_not_built) in compileAndLoadModule()
1021 Diags.Report(ModuleNameLoc, diag::err_module_lock_failure) in compileAndLoadModule()
1044 Diags.Report(ModuleNameLoc, diag::err_module_lock_timeout) in compileAndLoadModule()
1068 !Diags.hasErrorOccurred()) { in compileAndLoadModule()