aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2016-12-12 19:05:52 +0000
committerDimitry Andric <dimitry@andric.com>2016-12-12 19:05:52 +0000
commit59e5cb4342748cb96aae2c1ea4d71167f4cac4f2 (patch)
treef9607a3dfc0b17606cb9bd1101cd5ab598f5468c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent30422eea0f9341a77a871addb31f8a12806ea18a (diff)
downloadllvm-59e5cb4342748cb96aae2c1ea4d71167f4cac4f2.zip
llvm-59e5cb4342748cb96aae2c1ea4d71167f4cac4f2.tar.gz
llvm-59e5cb4342748cb96aae2c1ea4d71167f4cac4f2.tar.bz2
Fix compile with GCC 5 or later
Summary: Compiling with GCC 5 or later can fail with a bogus error "constructor required before non-static data member for llvm::ValueEnumerator::MDRange::First has been parsed". This was originally fixed upstream in GCC PR 70528, but later this fix was reverted, and released versions of GCC still show the bogus error. To work around this, replace MDRange's declaration of a default constructor with a definition. Reviewers: dexonsmith, rsmith, rivanvx Subscribers: llvm-commits, dim, dexonsmith Differential Revision: https://reviews.llvm.org/D18730 llvm-svn: 289454
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions