summaryrefslogtreecommitdiffstats
path: root/clang/test/ARCMT/designated-init-in-header/header1.h.result
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-12-11 21:39:06 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-12-11 21:39:06 +0000
commit712e18a0c1cad13e3738f2daebd6f625858e0fda (patch)
tree7243653f5640a4eeac10faf70617220b14993b7f /clang/test/ARCMT/designated-init-in-header/header1.h.result
parent3f72934bba66d46c756f6c1cc165154c4ca69ec1 (diff)
downloadbcm5719-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.result13
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
OpenPOWER on IntegriCloud