[llvm] r231047 - Add explicit type to empty std::set initializer to fix the libc++ build.
Peter Collingbourne
peter at pcc.me.uk
Mon Mar 2 17:39:13 PST 2015
Author: pcc
Date: Mon Mar 2 19:39:13 2015
New Revision: 231047
URL: http://llvm.org/viewvc/llvm-project?rev=231047&view=rev
Log:
Add explicit type to empty std::set initializer to fix the libc++ build.
Modified:
llvm/trunk/unittests/Transforms/IPO/LowerBitSets.cpp
Modified: llvm/trunk/unittests/Transforms/IPO/LowerBitSets.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Transforms/IPO/LowerBitSets.cpp?rev=231047&r1=231046&r2=231047&view=diff
==============================================================================
--- llvm/trunk/unittests/Transforms/IPO/LowerBitSets.cpp (original)
+++ llvm/trunk/unittests/Transforms/IPO/LowerBitSets.cpp Mon Mar 2 19:39:13 2015
@@ -22,7 +22,7 @@ TEST(LowerBitSets, BitSetBuilder) {
bool IsSingleOffset;
bool IsAllOnes;
} BSBTests[] = {
- {{}, {}, 0, 1, 0, false, false},
+ {{}, std::set<uint64_t>{}, 0, 1, 0, false, false},
{{0}, {0}, 0, 1, 0, true, true},
{{4}, {0}, 4, 1, 0, true, true},
{{37}, {0}, 37, 1, 0, true, true},
More information about the llvm-commits
mailing list