Lines Matching defs:Diagnostics
78 newDriver(DiagnosticsEngine *Diagnostics, const char *BinaryName,
82 *Diagnostics, "clang LLVM compiler", std::move(VFS));
133 getCC1Arguments(DiagnosticsEngine *Diagnostics,
162 Diagnostics->Report(diag::err_fe_expected_compiler_job)
171 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics,
176 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, *Diagnostics,
388 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics =
392 // Although `Diagnostics` are used only for command-line parsing, the custom
394 SourceManager SrcMgr(*Diagnostics, *Files);
395 Diagnostics->setSourceManager(&SrcMgr);
401 newInvocation(&*Diagnostics, CC1Args, BinaryName));
402 if (Diagnostics->hasErrorOccurred())
409 newDriver(&*Diagnostics, BinaryName, &Files->getVirtualFileSystem()));
421 &*Diagnostics, Compilation.get());
425 newInvocation(&*Diagnostics, *CC1Args, BinaryName));
626 // FIXME: Diagnostics should be used instead.