Silence a warning.

This commit is contained in:
Vassil Vassilev 2014-06-13 09:14:22 +02:00 committed by sftnight
parent bf8d14b1a3
commit a57c866b3d

View File

@ -267,8 +267,9 @@ IncrementalExecutor::executeFunction(llvm::StringRef funcname,
e = m_unresolvedSymbols.end(); i != e; ++i) {
// FIXME: This causes a lot of test failures, for some reason it causes
// the call to HandleMissingFunction to be elided.
//unsigned diagID = m_Diags.getCustomDiagID(clang::DiagnosticsEngine::Error,
// "%0 unresolved while jitting %1");
unsigned diagID = m_Diags.getCustomDiagID(clang::DiagnosticsEngine::Error,
"%0 unresolved while jitting %1");
(void)diagID;
//m_Diags.Report(diagID) << *i << funcname; // TODO: demangle the names.
llvm::errs() << "IncrementalExecutor::executeFunction: symbol '" << *i