summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit009b1c1cf1a918ad6c30d3a3b58533eebc9aa227 (patch)
treefefb5b50d9a7e42798c060f92bf2a52091558c66 /llvm/unittests
parent89b639e9a8978663b3558fc69c12486aa4bd4e53 (diff)
downloadbcm5719-llvm-009b1c1cf1a918ad6c30d3a3b58533eebc9aa227.tar.gz
bcm5719-llvm-009b1c1cf1a918ad6c30d3a3b58533eebc9aa227.zip
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. llvm-svn: 158096
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/Support/TypeBuilderTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/TypeBuilderTest.cpp b/llvm/unittests/Support/TypeBuilderTest.cpp
index 20d0e739147..1d3225726e9 100644
--- a/llvm/unittests/Support/TypeBuilderTest.cpp
+++ b/llvm/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];
OpenPOWER on IntegriCloud