Home | History | Annotate | Download | only in ARCMigrate

Lines Matching refs:diags

77 void CapturedDiagList::reportDiagnostics(DiagnosticsEngine &Diags) const {
79 Diags.Report(*I);
93 DiagnosticsEngine &Diags;
96 CaptureDiagnosticConsumer(DiagnosticsEngine &diags,
98 : Diags(diags), CapturedDiags(capturedDiags) { }
109 Diags.setLastDiagnosticIgnored();
112 DiagnosticConsumer *clone(DiagnosticsEngine &Diags) const {
210 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
212 Diags->setSourceManager(&PP.getSourceManager());
215 arcDiags.reportDiagnostics(*Diags);
248 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
252 CaptureDiagnosticConsumer errRec(*Diags, capturedDiags);
253 Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
256 ASTUnit::LoadFromCompilerInvocationAction(CInvok.take(), Diags));
261 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
265 if (Diags->hasFatalErrorOccurred()) {
266 Diags->Reset();
268 capturedDiags.reportDiagnostics(*Diags);
296 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
304 capturedDiags.reportDiagnostics(*Diags);
353 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
358 return migration.getRemapper().overwriteOriginal(*Diags);
363 return migration.getRemapper().flushToDisk(outputDir, *Diags);
392 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
396 bool err = remapper.initFromDisk(outputDir, *Diags,
416 llvm::IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
424 bool err = remapper.initFromFile(file, *Diags,
533 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
535 Remapper.initFromDisk(outputDir, *Diags, /*ignoreIfFilesChanges=*/true);
552 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
556 CaptureDiagnosticConsumer errRec(*Diags, capturedDiags);
557 Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
563 ASTUnit::LoadFromCompilerInvocationAction(CInvok.take(), Diags,
570 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
574 if (Diags->hasFatalErrorOccurred()) {
575 Diags->Reset();
577 capturedDiags.reportDiagnostics(*Diags);
590 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());