Lines Matching defs:DiagClient
96 DiagnosticConsumer &DiagClient;
103 : Diags(diags), DiagClient(client), CapturedDiags(capturedDiags),
108 // Pass BeginSourceFile message onto DiagClient on first call.
112 DiagClient.BeginSourceFile(Opts, PP);
118 // Call EndSourceFile on DiagClient on completion of capture to
122 DiagClient.EndSourceFile();
240 DiagnosticConsumer *DiagClient, bool emitPremigrationARCErrors,
261 assert(DiagClient);
265 DiagClient, /*ShouldOwnClient=*/false));
268 CaptureDiagnosticConsumer errRec(*Diags, *DiagClient, capturedDiags);
279 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
287 DiagClient->EndSourceFile();
309 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
328 DiagClient->EndSourceFile();
341 DiagnosticConsumer *DiagClient, StringRef outputDir,
351 DiagClient, emitPremigrationARCErrors,
359 MigrationProcess migration(CInvok, PCHContainerOps, DiagClient, outputDir);
374 DiagClient, /*ShouldOwnClient=*/false));
387 DiagnosticConsumer *DiagClient) {
388 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient,
395 DiagnosticConsumer *DiagClient, StringRef outputDir,
398 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, outputDir,
405 DiagnosticConsumer *DiagClient) {
411 DiagClient, /*ShouldOwnClient=*/false));
510 DiagnosticConsumer *diagClient, StringRef outputDir)
511 : OrigCI(CI), PCHContainerOps(PCHContainerOps), DiagClient(diagClient),
517 DiagClient, /*ShouldOwnClient=*/false));
534 assert(DiagClient);
538 DiagClient, /*ShouldOwnClient=*/false));
541 CaptureDiagnosticConsumer errRec(*Diags, *DiagClient, capturedDiags);
558 Diags->setClient(DiagClient, /*ShouldOwnClient=*/false);
564 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
566 DiagClient->EndSourceFile();
576 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
590 DiagClient->EndSourceFile();
593 if (DiagClient->getNumErrors())