diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-12-29 00:03:24 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-12-29 00:03:24 +0000 |
| commit | b738855f8cc2d5b66bc0f8f06a6e17a6260e6ba5 (patch) | |
| tree | d62bbdca343fc26b01c75fb68448cb935235e2a5 /llvm/unittests/ADT/PointerIntPairTest.cpp | |
| parent | 2ae7180b2455a7f2bfcaa3a16ae5e33d07b0e23c (diff) | |
| download | llvm-b738855f8cc2d5b66bc0f8f06a6e17a6260e6ba5.zip llvm-b738855f8cc2d5b66bc0f8f06a6e17a6260e6ba5.tar.gz llvm-b738855f8cc2d5b66bc0f8f06a6e17a6260e6ba5.tar.bz2 | |
[ADT] Use a nonce type with at least 4 byte alignment.
We didn't actually statically check this, and so it worked 25% of the
time for me. =/ Really sorry it took so long to fix, I shouldn't leave
the commit log editor window open without saving and landing the commit.
=[
llvm-svn: 256528
Diffstat (limited to 'llvm/unittests/ADT/PointerIntPairTest.cpp')
| -rw-r--r-- | llvm/unittests/ADT/PointerIntPairTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/PointerIntPairTest.cpp b/llvm/unittests/ADT/PointerIntPairTest.cpp index 956c250..e27a582 100644 --- a/llvm/unittests/ADT/PointerIntPairTest.cpp +++ b/llvm/unittests/ADT/PointerIntPairTest.cpp @@ -16,6 +16,7 @@ namespace { TEST(PointerIntPairTest, GetSet) { struct S { + int i; }; S s; |
