Quick fix to make LLDB TOT work with Clang TOT.

Avoids an error about an ambiguous constructor
call.

llvm-svn: 173118
This commit is contained in:
Sean Callanan 2013-01-22 02:20:20 +00:00
parent d68d6196af
commit b1de8dd986
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
if (m_compiler->getTargetOpts().Triple.find("ios") != std::string::npos)
m_compiler->getTargetOpts().ABI = "apcs-gnu";
m_compiler->createDiagnostics(0, 0);
m_compiler->createDiagnostics();
// Create the target instance.
m_compiler->setTarget(TargetInfo::CreateTargetInfo(m_compiler->getDiagnostics(),