Fwd declare the clang::DiagnosticsEngine.

This commit is contained in:
Vassil Vassilev 2014-03-27 14:52:50 +01:00 committed by sftnight
parent 5e3a83bd3b
commit 0250ffe457

View File

@ -20,6 +20,7 @@ namespace llvm {
}
namespace clang {
class DiagnosticsEngine;
}
namespace cling {
@ -43,7 +44,8 @@ namespace cling {
//---------------------------------------------------------------------
CIFactory() {}
~CIFactory() {}
static void SetClingCustomDiagnosticMappings(DiagnosticsEngine& Diags);
static void SetClingCustomDiagnosticMappings(clang::DiagnosticsEngine&
Diags);
static void SetClingCustomLangOpts(clang::LangOptions& Opts);
static void SetClingTargetLangOpts(clang::LangOptions& Opts,
const clang::TargetInfo& Target);