llvm-project/clang/test/ARCMT
Fariborz Jahanian 47502c11f5 ObjectiveC migration. NS_RETURNS_NOT_RETAINED is the default for
unknown methods which return Cocoa objects. No need to annotate
such methods.

llvm-svn: 190555
2013-09-11 22:46:09 +00:00
..
Inputs [arcmt] Introduce new '-ccc-arcmt-migrate <path>' ARC migration driver option. 2011-07-09 20:00:58 +00:00
with space [arcmt] Try fixing the windows buildbot. 2011-09-07 21:50:18 +00:00
Common.h [arcmt] Rewrite uses of Block_copy/Block_release macros. 2013-01-03 03:17:17 +00:00
GC-check-warn-nsalloc.m arc migrator: Provide infrastructure to add options 2012-01-25 00:20:29 +00:00
GC-check.m [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
GC-no-arc-runtime.m [arcmt] GC migrator: don't try to remove redundant __strong, it does 2012-02-25 01:57:42 +00:00
GC-no-arc-runtime.m.result [arcmt] GC migrator: don't try to remove redundant __strong, it does 2012-02-25 01:57:42 +00:00
GC-no-finalize-removal.m [arcmt] GC migrator: don't try to remove redundant __strong, it does 2012-02-25 01:57:42 +00:00
GC-no-finalize-removal.m.result [arcmt] GC migrator: don't try to remove redundant __strong, it does 2012-02-25 01:57:42 +00:00
GC.h [arcmt] In GC, error for __strong/__weak on non-objc pointers. 2011-11-06 18:58:23 +00:00
GC.m [arcmt] GC migrator: don't try to remove redundant __strong, it does 2012-02-25 01:57:42 +00:00
GC.m.result [arcmt] GC migrator: don't try to remove redundant __strong, it does 2012-02-25 01:57:42 +00:00
api.m [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
api.m.result [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
assign-prop-no-arc-runtime.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
assign-prop-no-arc-runtime.m.result Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
assign-prop-with-arc-runtime.m [arcmt] Fix a bug where a property in a class extension, that did not exist 2012-03-29 01:10:31 +00:00
assign-prop-with-arc-runtime.m.result [arcmt] Fix a bug where a property in a class extension, that did not exist 2012-03-29 01:10:31 +00:00
atautorelease-2.m [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
atautorelease-2.m.result [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
atautorelease-3.m [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
atautorelease-3.m.result [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
atautorelease-check.m [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
atautorelease.m [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
atautorelease.m.result [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
autoreleases.m [arcmt] Allow removing an -autorelease of a variable initialized in the previous statement. 2013-01-04 18:30:11 +00:00
autoreleases.m.result [arcmt] Allow removing an -autorelease of a variable initialized in the previous statement. 2013-01-04 18:30:11 +00:00
block_copy_release.m [arcmt] Rewrite uses of Block_copy/Block_release macros. 2013-01-03 03:17:17 +00:00
block_copy_release.m.result [arcmt] Rewrite uses of Block_copy/Block_release macros. 2013-01-03 03:17:17 +00:00
check-api.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
check-with-pch.m [arcmt] Make sure the objc migrators work fine when used with a PCH. 2013-02-05 16:37:00 +00:00
check-with-serialized-diag.m Point diagnostics that complain about a use of a selector in an objc message, to the selector location. 2013-05-01 00:24:09 +00:00
checking-in-arc.m [arcmt] Only disable ARC in the second compilation if there were actually ARC errors in the checking phase. 2013-07-22 18:13:54 +00:00
checking.m [arcmt] When handling unbridged casts, handle the body of BlockDecl separately because ParentMap does not record 2013-08-09 20:20:25 +00:00
cxx-checking.mm objective-C arc: remove -Warc-abi in its entirety. 2012-09-14 17:48:35 +00:00
cxx-rewrite.mm [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
cxx-rewrite.mm.result Let Expr::HasSideEffects() return false for NULL, bool literals, this, and nullptr. 2012-07-20 03:39:05 +00:00
dealloc.m [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
dealloc.m.result [arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ 2012-01-12 02:34:32 +00:00
dispatch.m [arcmt] Remove an unused -autorelease, without failing with error, for this 2012-05-23 21:50:04 +00:00
dispatch.m.result [arcmt] Remove an unused -autorelease, without failing with error, for this 2012-05-23 21:50:04 +00:00
driver-migrate.m [arcmt/driver] For the -ccc-arcmt-* flags, claim them when -fno-objc-arc is passed to avoid the 2013-06-24 19:01:18 +00:00
init.m [arcmt] When fixing the "unassigned init call" ARC error, make sure 2012-03-31 01:34:06 +00:00
init.m.result [arcmt] When fixing the "unassigned init call" ARC error, make sure 2012-03-31 01:34:06 +00:00
lit.local.cfg Make the information about disabled ARCMT/Rewriter/StaticAnalyzer available 2013-08-27 19:27:35 +00:00
migrate-emit-errors.m Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
migrate-plist-output.m Point diagnostics that complain about a use of a selector in an objc message, to the selector location. 2013-05-01 00:24:09 +00:00
migrate-space-in-path.m Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
migrate-with-pch.m [arcmt] Make sure the objc migrators work fine when used with a PCH. 2013-02-05 16:37:00 +00:00
migrate.m Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
no-canceling-bridge-to-bridge-cast.m revert r160839 for now. 2012-07-27 21:34:23 +00:00
nonobjc-to-objc-cast-2.m [arcmt] Make sure the function has an associated parameter for the argument 2013-02-14 17:29:16 +00:00
nonobjc-to-objc-cast.m [arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method, 2012-06-07 00:44:06 +00:00
nonobjc-to-objc-cast.m.result [arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method, 2012-06-07 00:44:06 +00:00
objcmt-arc-cf-annotations.m ObjectiveC migrator: builtin ObjectiveC types are not 2013-08-22 22:27:36 +00:00
objcmt-arc-cf-annotations.m.result ObjectiveC migration. NS_RETURNS_NOT_RETAINED is the default for 2013-09-11 22:46:09 +00:00
objcmt-boxing.m [objcmt] Have the modern objc migration warning change from: 2012-06-20 01:28:32 +00:00
objcmt-boxing.m.result [objcmt] Have the modern objc migration warning change from: 2012-06-20 01:28:32 +00:00
objcmt-instancetype-2.m ObjectiveC migrator: Fixes a crash and makes couple 2013-08-13 18:01:42 +00:00
objcmt-instancetype-2.m.result ObjectiveC migrator: In suggesting 'instancetype' use clang's 2013-08-28 21:23:00 +00:00
objcmt-instancetype.m ObjectiveC migration: Method candidates for 2013-07-24 18:31:42 +00:00
objcmt-instancetype.m.result ObjectiveC migrator: In suggesting 'instancetype' use clang's 2013-08-28 21:23:00 +00:00
objcmt-ns-macros.m ObjectiveC migrator: infer NS_ENUM even when user 2013-08-30 17:46:01 +00:00
objcmt-ns-macros.m.result ObjectiveC migrator: infer NS_ENUM even when user 2013-08-30 17:46:01 +00:00
objcmt-ns-returns-inner-pointer.m ObjectiveC migrator. Do not infer NS_RETURNS_INNER_POINTER 2013-09-09 23:56:14 +00:00
objcmt-ns-returns-inner-pointer.m.result ObjectiveC migrator. Do not infer NS_RETURNS_INNER_POINTER 2013-09-09 23:56:14 +00:00
objcmt-numeric-literals.m [objcmt] When rewriting to array/dictionary literals, add an explicit 2012-05-14 22:01:53 +00:00
objcmt-numeric-literals.m.result [objcmt] Rewrite [NSNumber numberWith*] messages to the new @() boxing syntax. 2012-05-15 19:17:49 +00:00
objcmt-property.m ObjectiveC migrator. Modify inferred property name 2013-09-11 18:27:16 +00:00
objcmt-property.m.result ObjectiveC migrator. Modify inferred property name 2013-09-11 18:27:16 +00:00
objcmt-protocol-conformance.m ObjectiveC migration. Better handle migration to conforming 2013-07-22 23:50:04 +00:00
objcmt-protocol-conformance.m.result ObjectiveC migration. Better handle migration to conforming 2013-07-22 23:50:04 +00:00
objcmt-subscripting-literals-in-arc.m [objcmt] Rewrite a NSDictionary dictionaryWithObjects:forKeys: to a dictionary literal 2013-01-16 23:54:48 +00:00
objcmt-subscripting-literals-in-arc.m.result [objcmt] Rewrite a NSDictionary dictionaryWithObjects:forKeys: to a dictionary literal 2013-01-16 23:54:48 +00:00
objcmt-subscripting-literals.m [objcmt] Fix a mishandled conversion to objc directory literal. 2013-04-06 01:13:17 +00:00
objcmt-subscripting-literals.m.result [objcmt] Fix a mishandled conversion to objc directory literal. 2013-04-06 01:13:17 +00:00
objcmt-subscripting-unavailable.m [objcmt] Don't migrate to subscripting syntax if the required methods have not 2012-06-04 21:23:26 +00:00
objcmt-subscripting-unavailable.m.result [objcmt] Don't migrate to subscripting syntax if the required methods have not 2012-06-04 21:23:26 +00:00
objcmt-with-pch.m [arcmt] Make sure the objc migrators work fine when used with a PCH. 2013-02-05 16:37:00 +00:00
objcmt-with-pch.m.result [arcmt] Make sure the objc migrators work fine when used with a PCH. 2013-02-05 16:37:00 +00:00
protected-scope.m [arcmt] Follow-up for r171484; make sure when adding brackets enclosing case statements, 2013-01-08 00:58:25 +00:00
protected-scope.m.result [arcmt] Follow-up for r171484; make sure when adding brackets enclosing case statements, 2013-01-08 00:58:25 +00:00
releases-driver.m objective-c arc: ARC IRGen correctly assumes result 2012-07-30 20:52:48 +00:00
releases-driver.m.result objective-c arc: ARC IRGen correctly assumes result 2012-07-30 20:52:48 +00:00
releases.m objective-c arc: ARC IRGen correctly assumes result 2012-07-30 20:52:48 +00:00
releases.m.result objective-c arc: ARC IRGen correctly assumes result 2012-07-30 20:52:48 +00:00
remove-dealloc-method.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
remove-dealloc-method.m.result arc migrator: replace "retain" attribute with "strong" 2012-01-20 19:15:02 +00:00
remove-dealloc-zerouts.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
remove-dealloc-zerouts.m.result arc migrator: replace "retain" attribute with "strong" 2012-01-20 19:15:02 +00:00
remove-statements.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
remove-statements.m.result Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
retains.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
retains.m.result arc migrator: replace "retain" attribute with "strong" 2012-01-20 19:15:02 +00:00
rewrite-block-var.m [arcmt] 2012-03-05 08:46:24 +00:00
rewrite-block-var.m.result [arcmt] 2012-03-05 08:46:24 +00:00
safe-arc-assign.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
safe-arc-assign.m.result Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
verify.m Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
with-arc-mode-check.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
with-arc-mode-migrate.m Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
with-arc-mode-migrate.m.result Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
with-arc-mode-modify.m Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
with-arc-mode-modify.m.result Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00