llvm-project/clang/test/ARCMT
Fariborz Jahanian dff8de77a6 objective-c: Any use of @synthesize or @dynamic lexically after a method (or C function) implementation
will be rejected with a compilation error in ARC mode, and a compiler warning otherwise.
This may cause breakage in non-arc (and arc) tests which don't expect warning/error. Feel free
to fix the tests, or reverse the patch, if I am unavailable. // rdar://9818354 - WIP

llvm-svn: 135740
2011-07-22 01:06:53 +00:00
..
Inputs [arcmt] Introduce new '-ccc-arcmt-migrate <path>' ARC migration driver option. 2011-07-09 20:00:58 +00:00
Common.h [arcmt] Remove rewriteAllocCopyWithZone transformation; not needed anymore. 2011-06-23 21:21:28 +00:00
assign-prop-no-arc-runtime.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
assign-prop-no-arc-runtime.m.result [arcmt] For properties rewrite 'assign' -> 'weak or unsafe_unretained', 'retain' -> 'strong', and add 2011-07-13 19:22:00 +00:00
assign-prop-with-arc-runtime.m [arcmt] Add weak/unsafe_unretained for "@property (readonly)" when we are @synthesizing it. 2011-07-13 19:47:57 +00:00
assign-prop-with-arc-runtime.m.result [arcmt] Add weak/unsafe_unretained for "@property (readonly)" when we are @synthesizing it. 2011-07-13 19:47:57 +00:00
atautorelease-2.m
atautorelease-2.m.result
atautorelease-3.m
atautorelease-3.m.result
atautorelease-check.m [arcmt] Fix the ARC migrator. -arcmt-modify requires running before the initialization of SourceManager 2011-06-18 00:53:41 +00:00
atautorelease.m
atautorelease.m.result
autoreleases.m
autoreleases.m.result
check-api.m [arcmt] NSInvocation's [get/set]ReturnValue and [get/set]Argument are only safe 2011-07-18 07:44:45 +00:00
checking.m [arcmt] It's not safe to remove the -release on "[[someivar delegate] release];" since it's very likely 2011-07-15 23:48:56 +00:00
cxx-checking.mm In ARC mode, consider Objective-C lifetime types (object pointers and 2011-07-12 17:28:52 +00:00
cxx-rewrite.mm [arcmt] Emit an error for unused -autorelease messages. 2011-07-14 21:26:49 +00:00
cxx-rewrite.mm.result [arcmt] Fully migrate ObjC++ classes, rdar://9660007. 2011-06-23 21:21:33 +00:00
dealloc.m
dealloc.m.result
driver-migrate.m Tweak two tests with MSYS-bash tolerant. 2011-07-11 16:21:34 +00:00
init.m
init.m.result
migrate-emit-errors.m [arcmt] Add some additional driver flags to optionally emit or save the pre-migration ARC errors. 2011-07-19 17:20:03 +00:00
migrate-plist-output.m [arcmt] Add some additional driver flags to optionally emit or save the pre-migration ARC errors. 2011-07-19 17:20:03 +00:00
migrate.m [arcmt] Introduce new '-ccc-arcmt-migrate <path>' ARC migration driver option. 2011-07-09 20:00:58 +00:00
nonobjc-to-objc-cast-2.m [arcmt] Fix the ARC migrator. -arcmt-modify requires running before the initialization of SourceManager 2011-06-18 00:53:41 +00:00
nonobjc-to-objc-cast.m [arcmt] Always add '__bridge' cast when 'self' is cast to a C pointer. rdar://9644061 2011-06-20 23:39:20 +00:00
nonobjc-to-objc-cast.m.result [arcmt] Always add '__bridge' cast when 'self' is cast to a C pointer. rdar://9644061 2011-06-20 23:39:20 +00:00
nsdata.m [arcmt] When a NSData's 'bytes' family of methods are used on a local var, 2011-07-18 07:44:50 +00:00
nsdata.m.result [arcmt] When a NSData's 'bytes' family of methods are used on a local var, 2011-07-18 07:44:50 +00:00
releases-driver.m [arcmt] Fix the ARC migrator. -arcmt-modify requires running before the initialization of SourceManager 2011-06-18 00:53:41 +00:00
releases-driver.m.result [arcmt] For properties rewrite 'assign' -> 'weak or unsafe_unretained', 'retain' -> 'strong', and add 2011-07-13 19:22:00 +00:00
releases.m [arcmt] Rewrite to "foo = nil;" not "foo = 0;", as suggested by Jordy. 2011-07-15 22:04:00 +00:00
releases.m.result [arcmt] Rewrite to "foo = nil;" not "foo = 0;", as suggested by Jordy. 2011-07-15 22:04:00 +00:00
remove-dealloc-method.m
remove-dealloc-method.m.result [arcmt] For properties rewrite 'assign' -> 'weak or unsafe_unretained', 'retain' -> 'strong', and add 2011-07-13 19:22:00 +00:00
remove-dealloc-zerouts.m objective-c: Any use of @synthesize or @dynamic lexically after a method (or C function) implementation 2011-07-22 01:06:53 +00:00
remove-dealloc-zerouts.m.result objective-c: Any use of @synthesize or @dynamic lexically after a method (or C function) implementation 2011-07-22 01:06:53 +00:00
remove-statements.m [arcmt] Emit an error for unused -autorelease messages. 2011-07-14 21:26:49 +00:00
remove-statements.m.result
retains.m [arcmt] Emit an error for unused -autorelease messages. 2011-07-14 21:26:49 +00:00
retains.m.result [arcmt] For properties rewrite 'assign' -> 'weak or unsafe_unretained', 'retain' -> 'strong', and add 2011-07-13 19:22:00 +00:00
rewrite-block-var.m Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
rewrite-block-var.m.result Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
safe-arc-assign.m
safe-arc-assign.m.result
with-arc-mode-check.m [arcmt] Make sure migrating to ARC works even if '-fobjc-arc' is included in command-line flags. rdar://9567824 2011-07-14 00:17:54 +00:00
with-arc-mode-migrate.m [arcmt] Make sure migrating to ARC works even if '-fobjc-arc' is included in command-line flags. rdar://9567824 2011-07-14 00:17:54 +00:00
with-arc-mode-migrate.m.result [arcmt] Make sure migrating to ARC works even if '-fobjc-arc' is included in command-line flags. rdar://9567824 2011-07-14 00:17:54 +00:00
with-arc-mode-modify.m [arcmt] Make sure migrating to ARC works even if '-fobjc-arc' is included in command-line flags. rdar://9567824 2011-07-14 00:17:54 +00:00
with-arc-mode-modify.m.result [arcmt] Make sure migrating to ARC works even if '-fobjc-arc' is included in command-line flags. rdar://9567824 2011-07-14 00:17:54 +00:00