[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / test / Rewriter / rewrite-nested-ivar.mm
blob47504b5d7ba037a285a9fb2be2dc501acc8763ae
1 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
3 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw-modern.cpp
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw-modern.cpp
5 // radar 7583971
8 @interface NSURLResponse {
9 @public
10   NSURLResponse *InnerResponse;
12 @end
14 @interface NSCachedURLResponseInternal 
16     @public
17     NSURLResponse *response;
19 @end
21 @interface NSCachedURLResponse
23     @private
24     NSCachedURLResponseInternal *_internal;
26 - (void) Meth;
27 @end
29 @implementation NSCachedURLResponse
30 - (void) Meth {
31     _internal->response->InnerResponse = 0;
32   }
33 @end