diff options
author | Zachary Turner <zturner@google.com> | 2018-03-15 21:12:51 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-03-15 21:12:51 +0000 |
commit | 03028f327b65ff47dd046ad62310bf03b11e70fb (patch) | |
tree | 47f8db759d2d6eab47334d7c335a1d50de1d8ba8 /llvm/unittests/DebugInfo/PDB/HashTableTest.cpp | |
parent | 55baeefd54b1e89551545b01b82c5fbf041bb0ad (diff) | |
download | bcm5719-llvm-03028f327b65ff47dd046ad62310bf03b11e70fb.tar.gz bcm5719-llvm-03028f327b65ff47dd046ad62310bf03b11e70fb.zip |
Fix structure alignment issue.
llvm-svn: 327666
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/HashTableTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/PDB/HashTableTest.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/HashTableTest.cpp b/llvm/unittests/DebugInfo/PDB/HashTableTest.cpp index cffb3840bc3..4b51c623037 100644 --- a/llvm/unittests/DebugInfo/PDB/HashTableTest.cpp +++ b/llvm/unittests/DebugInfo/PDB/HashTableTest.cpp @@ -195,10 +195,8 @@ TEST(HashTableTest, NamedStreamMap) { namespace { struct FooBar { - std::string S; uint32_t X; uint32_t Y; - double Z; }; } // namespace @@ -236,10 +234,8 @@ TEST(HashTableTest, NonTrivialValueType) { uint32_t Cap = Table.capacity(); for (uint32_t I = 0; I < Cap; ++I) { FooBar F; - F.S = utostr(I); F.X = I; F.Y = I + 1; - F.Z = static_cast<double>(I + 2); Table.set_as(utostr(I), F); } |