diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-01-12 02:37:54 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-01-12 02:37:54 +0000 |
| commit | 224529354112fa5403bdff07b9244710b6d64839 (patch) | |
| tree | 73145450ee882d5bcbce2dc646daa31a4836a32e /lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp | |
| parent | 3beb7c6b5f5fa67df5593ca2357083daed0faa27 (diff) | |
| download | bcm5719-llvm-224529354112fa5403bdff07b9244710b6d64839.tar.gz bcm5719-llvm-224529354112fa5403bdff07b9244710b6d64839.zip | |
Update to match clang r291737.
llvm-svn: 291738
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp')
| -rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp index f8539379f7d..f60587ed2ff 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp @@ -346,8 +346,7 @@ bool ASTResultSynthesizer::SynthesizeBodyResult(CompoundStmt *Body, ExprResult address_of_expr = m_sema->CreateBuiltinUnaryOp(SourceLocation(), UO_AddrOf, last_expr); if (address_of_expr.get()) - m_sema->AddInitializerToDecl(result_decl, address_of_expr.get(), true, - false); + m_sema->AddInitializerToDecl(result_decl, address_of_expr.get(), true); else return false; } else { @@ -359,7 +358,7 @@ bool ASTResultSynthesizer::SynthesizeBodyResult(CompoundStmt *Body, if (!result_decl) return false; - m_sema->AddInitializerToDecl(result_decl, last_expr, true, false); + m_sema->AddInitializerToDecl(result_decl, last_expr, true); } DC->addDecl(result_decl); |

