aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 19:47:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 19:47:08 +0000
commit95a9d937728ca9cf2bf44f86ff1184df318b3bd7 (patch)
tree77b5cf196dfbbd2ec36581c239d67d5632540710 /unittests
parenta7542d5f870c5d98960d1676e23ac1d1d975d7e5 (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.cpp4
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];