diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-12-11 21:39:06 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-12-11 21:39:06 +0000 |
| commit | 712e18a0c1cad13e3738f2daebd6f625858e0fda (patch) | |
| tree | 7243653f5640a4eeac10faf70617220b14993b7f /clang/test/ARCMT/designated-init-in-header/header1.h.result | |
| parent | 3f72934bba66d46c756f6c1cc165154c4ca69ec1 (diff) | |
| download | bcm5719-llvm-712e18a0c1cad13e3738f2daebd6f625858e0fda.tar.gz bcm5719-llvm-712e18a0c1cad13e3738f2daebd6f625858e0fda.zip | |
[objcmt] When emitting a remap file, use a json format with the edit entries, instead of applying the changes
to a temp file directly.
This allows to combine the edits when they can be different based on whether you saw
the implementation or not, e.g. with the designated initializer migration.
llvm-svn: 197076
Diffstat (limited to 'clang/test/ARCMT/designated-init-in-header/header1.h.result')
| -rw-r--r-- | clang/test/ARCMT/designated-init-in-header/header1.h.result | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/ARCMT/designated-init-in-header/header1.h.result b/clang/test/ARCMT/designated-init-in-header/header1.h.result new file mode 100644 index 00000000000..974175b1c3e --- /dev/null +++ b/clang/test/ARCMT/designated-init-in-header/header1.h.result @@ -0,0 +1,13 @@ +#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) + +@class NSString; + +@interface B1 +-(instancetype)init; +@end + +@interface S1 : B1 +@property (nonatomic) int prop; ++(instancetype)s1; +-(instancetype)initWithFoo:(NSString*)foo NS_DESIGNATED_INITIALIZER; +@end |

