Lines Matching refs:diags
79 void CapturedDiagList::reportDiagnostics(DiagnosticsEngine &Diags) const {
81 Diags.Report(*I);
95 DiagnosticsEngine &Diags;
100 CaptureDiagnosticConsumer(DiagnosticsEngine &diags,
103 : Diags(diags), DiagClient(client), CapturedDiags(capturedDiags),
141 Diags.setLastDiagnosticIgnored();
178 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
183 FileMgr, *Diags);
219 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
222 Diags->setSourceManager(&PP.getSourceManager());
225 arcDiags.reportDiagnostics(*Diags);
258 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
263 CaptureDiagnosticConsumer errRec(*Diags, *DiagClient, capturedDiags);
264 Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
267 ASTUnit::LoadFromCompilerInvocationAction(CInvok.take(), Diags));
276 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
280 if (Diags->hasFatalErrorOccurred()) {
281 Diags->Reset();
283 capturedDiags.reportDiagnostics(*Diags);
312 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
321 capturedDiags.reportDiagnostics(*Diags);
376 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
382 return migration.getRemapper().overwriteOriginal(*Diags);
392 return migration.getRemapper().flushToDisk(outputDir, *Diags);
421 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
426 bool err = remapper.initFromDisk(outputDir, *Diags,
446 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
455 bool err = remapper.initFromFile(file, *Diags,
563 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
566 Remapper.initFromDisk(outputDir, *Diags, /*ignoreIfFilesChanges=*/true);
583 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
588 CaptureDiagnosticConsumer errRec(*Diags, *DiagClient, capturedDiags);
589 Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
595 ASTUnit::LoadFromCompilerInvocationAction(CInvok.take(), Diags,
606 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
610 if (Diags->hasFatalErrorOccurred()) {
611 Diags->Reset();
613 capturedDiags.reportDiagnostics(*Diags);
627 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());