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 | 009b1c1cf1a918ad6c30d3a3b58533eebc9aa227 (patch) | |
tree | fefb5b50d9a7e42798c060f92bf2a52091558c66 /llvm/unittests | |
parent | 89b639e9a8978663b3558fc69c12486aa4bd4e53 (diff) | |
download | bcm5719-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.cpp | 4 |
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]; |