diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-09-24 17:03:07 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-09-24 17:03:07 +0000 |
commit | 2330df43c89dfbcf888a1b0d608f71546f29b6cf (patch) | |
tree | 5c18e51581fe85e59786afc8cf403dfb76cdf474 /test/Rewriter | |
parent | ba9175808084f22081a755314f966fa26026a8d7 (diff) |
Revert my patch in r191155 to allow forward
class/protocol decls in @implementation and
fixup modern rewriter to handle that.
// rdar://15066233
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Rewriter')
-rw-r--r-- | test/Rewriter/rewrite-forward-class.mm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/Rewriter/rewrite-forward-class.mm b/test/Rewriter/rewrite-forward-class.mm index 9f4e7e21e8..3d3ef3e6c9 100644 --- a/test/Rewriter/rewrite-forward-class.mm +++ b/test/Rewriter/rewrite-forward-class.mm @@ -1,4 +1,4 @@ -// 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 +// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp extern "C" { @@ -42,3 +42,14 @@ int I,J,K; }; +// rdar://15027032 +@interface ISDPropertyChangeGroup +@end + +@implementation ISDPropertyChangeGroup +@class ISDClientState; +- (id)lastModifiedGeneration : (ISDClientState *) obj +{ + return obj ; +} +@end |