annotate clang/test/Rewriter/rewrite-property-set-cfstring.mm @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
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
anatofuz
parents:
diff changeset
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
anatofuz
parents:
diff changeset
3 // rdar:// 8527018
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 void *sel_registerName(const char *);
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 @class NSString;
anatofuz
parents:
diff changeset
8 @interface CoreDAVDiscoveryAccountInfo {
anatofuz
parents:
diff changeset
9 NSString *_scheme;
anatofuz
parents:
diff changeset
10 }
anatofuz
parents:
diff changeset
11 @property (retain) NSString *scheme;
anatofuz
parents:
diff changeset
12 - (void) Meth ;
anatofuz
parents:
diff changeset
13 @end
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 @implementation CoreDAVDiscoveryAccountInfo
anatofuz
parents:
diff changeset
16 @synthesize scheme=_scheme;
anatofuz
parents:
diff changeset
17 - (void) Meth {
anatofuz
parents:
diff changeset
18 CoreDAVDiscoveryAccountInfo *discoveryInfo;
anatofuz
parents:
diff changeset
19 discoveryInfo.scheme = @"https";
anatofuz
parents:
diff changeset
20 }
anatofuz
parents:
diff changeset
21 @end