[PATCH] D18730: Fix compile with GCC 6
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 12 11:16:12 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL289454: Fix compile with GCC 5 or later (authored by dim).
Changed prior to commit:
https://reviews.llvm.org/D18730?vs=52477&id=81112#toc
Repository:
rL LLVM
https://reviews.llvm.org/D18730
Files:
llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h
Index: llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h
===================================================================
--- llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h
+++ llvm/trunk/lib/Bitcode/Writer/ValueEnumerator.h
@@ -95,7 +95,7 @@
/// Number of strings in the prefix of the metadata range.
unsigned NumStrings = 0;
- MDRange() = default;
+ MDRange() {}
explicit MDRange(unsigned First) : First(First) {}
};
SmallDenseMap<unsigned, MDRange, 1> FunctionMDInfo;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18730.81112.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161212/6cb03614/attachment.bin>
More information about the llvm-commits
mailing list