From: Pavel Labath Date: Tue, 13 Mar 2018 09:46:10 +0000 (+0000) Subject: Fix clang-3.8 build X-Git-Tag: llvmorg-7.0.0-rc1~10750 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd3cbd4c1f4375cfe9e49d7c39bc2604429f05b4;p=platform%2Fupstream%2Fllvm.git Fix clang-3.8 build clang-3.8 complains that constructor for '...' must explicitly initialize the const member. Newer clangs and gcc seem to be fine with this, but explicitly initializing the member does not hurt. llvm-svn: 327380 --- diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp index 76f6b75..eaa0315 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp @@ -169,7 +169,7 @@ ClangModulesDeclVendorImpl::ClangModulesDeclVendorImpl( : m_diagnostics_engine(std::move(diagnostics_engine)), m_compiler_invocation(std::move(compiler_invocation)), m_compiler_instance(std::move(compiler_instance)), - m_parser(std::move(parser)) {} + m_parser(std::move(parser)), m_origin_map() {} void ClangModulesDeclVendorImpl::ReportModuleExportsHelper( std::set &exports,