Fix clang-3.8 build
authorPavel Labath <labath@google.com>
Tue, 13 Mar 2018 09:46:10 +0000 (09:46 +0000)
committerPavel Labath <labath@google.com>
Tue, 13 Mar 2018 09:46:10 +0000 (09:46 +0000)
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

lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp

index 76f6b75..eaa0315 100644 (file)
@@ -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<ClangModulesDeclVendor::ModuleID> &exports,