• Home
  • Raw
  • Download

Lines Matching refs:Diags

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