Searched refs:g_pEngine (Results 1 – 1 of 1) sorted by relevance
28 static llvm::ManagedStatic<DiagnosticEngine> g_pEngine; variable32 g_pEngine->reset(pConfig); in InitializeDiagnosticEngine()34 g_pEngine->setPrinter(*pPrinter, false); in InitializeDiagnosticEngine()38 g_pEngine->setPrinter(*printer, true); in InitializeDiagnosticEngine()43 return *g_pEngine; in getDiagnosticEngine()47 if (g_pEngine->getPrinter()->getNumErrors() > 0) { in Diagnose()53 g_pEngine->getPrinter()->finish(); in Diagnose()60 g_pEngine->getPrinter()->finish(); in FinalizeDiagnosticEngine()