Debian Codegraph @

clang/test/Rewriter/rewrite-property-set-cfstring.mm

raw
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
4 void *sel_registerName(const char *);
5
6 @class NSString;
7 @interface CoreDAVDiscoveryAccountInfo {
8 NSString *_scheme;
9 }
10 @property (retain) NSString *scheme;
11 - (void) Meth ;
12 @end
13
14 @implementation CoreDAVDiscoveryAccountInfo
15 @synthesize scheme=_scheme;
16 - (void) Meth {
17 CoreDAVDiscoveryAccountInfo *discoveryInfo;
18 discoveryInfo.scheme = @"https";
19 }
20 @end