summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-03-13 09:46:10 +0000
committerPavel Labath <labath@google.com>2018-03-13 09:46:10 +0000
commitcd3cbd4c1f4375cfe9e49d7c39bc2604429f05b4 (patch)
tree52785a034958dd55586776e2a7dd01406aaac409
parent01961c4b1a985f8f82f325d981f8b142216ea706 (diff)
downloadbcm5719-llvm-cd3cbd4c1f4375cfe9e49d7c39bc2604429f05b4.tar.gz
bcm5719-llvm-cd3cbd4c1f4375cfe9e49d7c39bc2604429f05b4.zip
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
-rw-r--r--lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
index 76f6b751afe..eaa0315d146 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<ClangModulesDeclVendor::ModuleID> &exports,
OpenPOWER on IntegriCloud