From 95a9d937728ca9cf2bf44f86ff1184df318b3bd7 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 6 Jun 2012 19:47:08 +0000 Subject: 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 --- unittests/Support/TypeBuilderTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unittests/Support/TypeBuilderTest.cpp') 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, 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]; -- cgit v1.2.3-70-g09d2