Lines Matching refs:Diags
80 void CapturedDiagList::reportDiagnostics(DiagnosticsEngine &Diags) const {
82 Diags.Report(*I);
96 DiagnosticsEngine &Diags;
101 CaptureDiagnosticConsumer(DiagnosticsEngine &diags,
104 : Diags(diags), DiagClient(client), CapturedDiags(capturedDiags),
142 Diags.setLastDiagnosticIgnored();
183 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
187 PPOpts.ImplicitPCHInclude, FileMgr, PCHContainerRdr, *Diags);
224 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
227 Diags->setSourceManager(&PP.getSourceManager());
230 arcDiags.reportDiagnostics(*Diags);
264 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
269 CaptureDiagnosticConsumer errRec(*Diags, *DiagClient, capturedDiags);
270 Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
273 CInvok.release(), PCHContainerOps, Diags));
280 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
284 if (Diags->hasFatalErrorOccurred()) {
285 Diags->Reset();
287 capturedDiags.reportDiagnostics(*Diags);
316 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
321 Diags->setSeverity(diag::warn_arcmt_nsalloc_realloc, diag::Severity::Error,
327 capturedDiags.reportDiagnostics(*Diags);
373 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
379 return migration.getRemapper().overwriteOriginal(*Diags);
381 return migration.getRemapper().flushToDisk(outputDir, *Diags);
410 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
415 bool err = remapper.initFromDisk(outputDir, *Diags,
516 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
519 Remapper.initFromDisk(outputDir, *Diags, /*ignoreIfFilesChanges=*/true);
537 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
542 CaptureDiagnosticConsumer errRec(*Diags, *DiagClient, capturedDiags);
543 Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
549 CInvok.release(), PCHContainerOps, Diags, ASTAction.get()));
559 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
563 if (Diags->hasFatalErrorOccurred()) {
564 Diags->Reset();
566 capturedDiags.reportDiagnostics(*Diags);
580 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());