aboutsummaryrefslogtreecommitdiff
path: root/test/FixIt/fixit.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-06-11 16:06:57 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-06-11 16:06:57 +0000
commitf5485125ae70644c76b64ed3ff8a1c5fda937a82 (patch)
tree0f1c5e24f5ce32fd393e83ad7f2f97e2950ef602 /test/FixIt/fixit.cpp
parentedb4b626130cc8268b1d7a3f9a9fdc7fb4c3a2bb (diff)
Enable -Wunused-private-field with -Wunused.
It found a lot of cruft in LLVM that I removed last week and I couldn't find any false positives. Time to give it more testing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt/fixit.cpp')
-rw-r--r--test/FixIt/fixit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp
index f5338cf01b..6a081e745b 100644
--- a/test/FixIt/fixit.cpp
+++ b/test/FixIt/fixit.cpp
@@ -54,7 +54,7 @@ namespace rdar7853795 {
}
namespace rdar7796492 {
- class A { int x, y; A(); };
+ struct A { int x, y; A(); };
A::A()
: x(1) y(2) { // expected-error{{missing ',' between base or member initializers}}