Lines Matching full:diagnostics
78 newDriver(DiagnosticsEngine *Diagnostics, const char *BinaryName, in newDriver() argument
82 *Diagnostics, "clang LLVM compiler", std::move(VFS)); in newDriver()
133 getCC1Arguments(DiagnosticsEngine *Diagnostics, in getCC1Arguments() argument
162 Diagnostics->Report(diag::err_fe_expected_compiler_job) in getCC1Arguments()
171 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics, in newInvocation() argument
176 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, *Diagnostics, in newInvocation()
388 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics = in run() local
391 // Although `Diagnostics` are used only for command-line parsing, the custom in run()
393 SourceManager SrcMgr(*Diagnostics, *Files); in run()
394 Diagnostics->setSourceManager(&SrcMgr); in run()
400 newInvocation(&*Diagnostics, CC1Args, BinaryName)); in run()
401 if (Diagnostics->hasErrorOccurred()) in run()
408 newDriver(&*Diagnostics, BinaryName, &Files->getVirtualFileSystem())); in run()
409 // The "input file not found" diagnostics from the driver are useful. in run()
420 &*Diagnostics, Compilation.get()); in run()
424 newInvocation(&*Diagnostics, *CC1Args, BinaryName)); in run()
458 // Create the compiler's actual diagnostics engine. in runInvocation()
624 // FIXME: Diagnostics should be used instead. in run()