forked from OSchip/llvm-project
parent
55baeefd54
commit
03028f327b
|
@ -195,10 +195,8 @@ TEST(HashTableTest, NamedStreamMap) {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
struct FooBar {
|
struct FooBar {
|
||||||
std::string S;
|
|
||||||
uint32_t X;
|
uint32_t X;
|
||||||
uint32_t Y;
|
uint32_t Y;
|
||||||
double Z;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -236,10 +234,8 @@ TEST(HashTableTest, NonTrivialValueType) {
|
||||||
uint32_t Cap = Table.capacity();
|
uint32_t Cap = Table.capacity();
|
||||||
for (uint32_t I = 0; I < Cap; ++I) {
|
for (uint32_t I = 0; I < Cap; ++I) {
|
||||||
FooBar F;
|
FooBar F;
|
||||||
F.S = utostr(I);
|
|
||||||
F.X = I;
|
F.X = I;
|
||||||
F.Y = I + 1;
|
F.Y = I + 1;
|
||||||
F.Z = static_cast<double>(I + 2);
|
|
||||||
Table.set_as(utostr(I), F);
|
Table.set_as(utostr(I), F);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue