diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-06 19:47:08 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-06 19:47:08 +0000 |
commit | 95a9d937728ca9cf2bf44f86ff1184df318b3bd7 (patch) | |
tree | 77b5cf196dfbbd2ec36581c239d67d5632540710 /unittests | |
parent | a7542d5f870c5d98960d1676e23ac1d1d975d7e5 (diff) |
Round 2 of dead private variable removal.
LLVM is now -Wunused-private-field clean except for
- lib/MC/MCDisassembler/Disassembler.h. Not sure why it keeps all those unaccessible fields.
- gtest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/TypeBuilderTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/TypeBuilderTest.cpp b/unittests/Support/TypeBuilderTest.cpp index 20d0e73914..1d3225726e 100644 --- a/unittests/Support/TypeBuilderTest.cpp +++ b/unittests/Support/TypeBuilderTest.cpp @@ -167,13 +167,13 @@ TEST(TypeBuilderTest, Context) { &(TypeBuilder<types::i<1>, true>::get(context2))->getContext()); } -class MyType { +struct MyType { int a; int *b; void *array[1]; }; -class MyPortableType { +struct MyPortableType { int32_t a; int32_t *b; void *array[1]; |