Fix build. Method was renamed in r209800.

llvm-svn: 209807
This commit is contained in:
Nikola Smiljanic 2014-05-29 12:38:17 +00:00
parent 9e44e590d5
commit 2882a12337
1 changed files with 2 additions and 5 deletions

View File

@ -59,9 +59,6 @@ ASTResultSynthesizer::Initialize(ASTContext &Context)
void
ASTResultSynthesizer::TransformTopLevelDecl(Decl* D)
{
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
if (NamedDecl *named_decl = dyn_cast<NamedDecl>(D))
{
if (log && log->GetVerbose())
@ -364,7 +361,7 @@ ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body,
ExprResult address_of_expr = m_sema->CreateBuiltinUnaryOp(SourceLocation(), UO_AddrOf, last_expr);
m_sema->AddInitializerToDecl(result_decl, address_of_expr.take(), true, false);
m_sema->AddInitializerToDecl(result_decl, address_of_expr.get(), true, false);
}
else
{
@ -413,7 +410,7 @@ ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body,
// replace the old statement with the new one
//
*last_stmt_ptr = reinterpret_cast<Stmt*>(result_initialization_stmt_result.take());
*last_stmt_ptr = reinterpret_cast<Stmt*>(result_initialization_stmt_result.get());
return true;
}