Silence warning. Keep the FIXME visible :-)

This commit is contained in:
Axel Naumann 2014-10-16 16:04:59 +02:00 committed by sftnight
parent bb95ca8a8f
commit 2dc1fdc217
2 changed files with 7 additions and 2 deletions

View File

@ -63,8 +63,11 @@ std::vector<IncrementalExecutor::LazyFunctionCreatorFunc_t>
// Keep in source: OwningPtr<ExecutionEngine> needs #include ExecutionEngine
IncrementalExecutor::IncrementalExecutor(llvm::Module* m,
clang::DiagnosticsEngine& diags)
: m_Diags(diags) {
clang::DiagnosticsEngine& /*diags*/)
#if 0
: m_Diags(diags)
#endif
{
assert(m && "llvm::Module must not be null!");
m_AtExitFuncs.reserve(256);

View File

@ -106,9 +106,11 @@ namespace cling {
///
AtExitFunctions m_AtExitFuncs;
#if 0 // See FIXME in IncrementalExecutor.cpp
///\brief The diagnostics engine, printing out issues coming from the
/// incremental executor.
clang::DiagnosticsEngine& m_Diags;
#endif
public:
enum ExecutionResult {