• Home
  • Raw
  • Download

Lines Matching refs:Diags

146                                DiagnosticsEngine &Diags) {  in SetUpDiagnosticLog()  argument
156 Diags.Report(diag::warn_fe_cc_log_diagnostics_failure) in SetUpDiagnosticLog()
170 assert(Diags.ownsClient()); in SetUpDiagnosticLog()
171 Diags.setClient( in SetUpDiagnosticLog()
172 new ChainedDiagnosticConsumer(Diags.takeClient(), std::move(Logger))); in SetUpDiagnosticLog()
176 DiagnosticsEngine &Diags, in SetupSerializedDiagnostics() argument
181 if (Diags.ownsClient()) { in SetupSerializedDiagnostics()
182 Diags.setClient(new ChainedDiagnosticConsumer( in SetupSerializedDiagnostics()
183 Diags.takeClient(), std::move(SerializedConsumer))); in SetupSerializedDiagnostics()
185 Diags.setClient(new ChainedDiagnosticConsumer( in SetupSerializedDiagnostics()
186 Diags.getClient(), std::move(SerializedConsumer))); in SetupSerializedDiagnostics()
203 Diags(new DiagnosticsEngine(DiagID, Opts)); in createDiagnostics() local
208 Diags->setClient(Client, ShouldOwnClient); in createDiagnostics()
210 Diags->setClient(new TextDiagnosticPrinter(llvm::errs(), Opts)); in createDiagnostics()
214 Diags->setClient(new VerifyDiagnosticConsumer(*Diags)); in createDiagnostics()
218 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
221 SetupSerializedDiagnostics(Opts, *Diags, in createDiagnostics()
225 ProcessWarningOptions(*Diags, *Opts); in createDiagnostics()
227 return Diags; in createDiagnostics()
248 static void InitializeFileRemapping(DiagnosticsEngine &Diags, in InitializeFileRemapping() argument
258 Diags.Report(diag::err_fe_remap_missing_from_file) << RB.first; in InitializeFileRemapping()
275 Diags.Report(diag::err_fe_remap_missing_to_file) << RF.first << RF.second; in InitializeFileRemapping()
283 Diags.Report(diag::err_fe_remap_missing_from_file) << RF.first; in InitializeFileRemapping()
729 const FrontendInputFile &Input, DiagnosticsEngine &Diags, in InitializeSourceManager() argument
758 Diags.Report(diag::err_fe_error_reading) << Opts.FindPchSource; in InitializeSourceManager()
777 Diags.Report(diag::err_fe_error_reading) << InputFile; in InitializeSourceManager()
793 Diags.Report(diag::err_cannot_open_file) << InputFile in InitializeSourceManager()
805 Diags.Report(diag::err_fe_error_reading_stdin) << EC.message(); in InitializeSourceManager()
1071 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in compileAndLoadModule() local
1074 Diags.Report(ModuleNameLoc, diag::err_module_not_built) in compileAndLoadModule()
1088 Diags.Report(ModuleNameLoc, diag::err_module_lock_failure) in compileAndLoadModule()
1111 Diags.Report(ModuleNameLoc, diag::err_module_lock_timeout) in compileAndLoadModule()
1135 !Diags.hasErrorOccurred()) { in compileAndLoadModule()