Do not warn with -Wuninitialized when the member is used in a sizeof or address-of...
[clang.git] / test / Rewriter / rewrite-qualified-id.mm
blobfe3607d41d0dd77b42d45e2d793f8cc8ae74ada9
1 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
3 // radar 7680953
5 typedef void * id;
7 @protocol foo
8 @end
10 @interface CL
12   id <foo> changeSource;
13   CL <foo>* changeSource1;
15 @end
17 typedef struct x
19    id <foo> changeSource;
20 } x;