llvm-project/clang/test/ARCMT
Argyrios Kyrtzidis bcf2bdc922 Point diagnostics that complain about a use of a selector in an objc message, to the selector location.
Previously it would point to the left bracket or the receiver, which can be particularly
problematic if the receiver is a block literal and we end up point the diagnostic far away
for the selector that is complaining about.

rdar://13620447

llvm-svn: 180833
2013-05-01 00:24:09 +00:00
..
Inputs
with space
Common.h [arcmt] Rewrite uses of Block_copy/Block_release macros. 2013-01-03 03:17:17 +00:00
GC-check-warn-nsalloc.m
GC-check.m
GC-no-arc-runtime.m
GC-no-arc-runtime.m.result
GC-no-finalize-removal.m
GC-no-finalize-removal.m.result
GC.h
GC.m
GC.m.result
api.m
api.m.result
assign-prop-no-arc-runtime.m
assign-prop-no-arc-runtime.m.result
assign-prop-with-arc-runtime.m
assign-prop-with-arc-runtime.m.result
atautorelease-2.m
atautorelease-2.m.result
atautorelease-3.m
atautorelease-3.m.result
atautorelease-check.m
atautorelease.m
atautorelease.m.result
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
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.m Undo my re-wording of the "ARC forbids Objective-C objects in ..." 2013-01-28 20:13:44 +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
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
dealloc.m.result
dispatch.m
dispatch.m.result
driver-migrate.m
init.m
init.m.result
migrate-emit-errors.m
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
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
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
nonobjc-to-objc-cast.m.result
objcmt-boxing.m
objcmt-boxing.m.result
objcmt-numeric-literals.m
objcmt-numeric-literals.m.result
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-subscripting-unavailable.m.result
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
remove-dealloc-method.m.result
remove-dealloc-zerouts.m
remove-dealloc-zerouts.m.result
remove-statements.m
remove-statements.m.result
retains.m
retains.m.result
rewrite-block-var.m
rewrite-block-var.m.result
safe-arc-assign.m
safe-arc-assign.m.result
verify.m Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. 2012-10-19 12:49:32 +00:00
with-arc-mode-check.m
with-arc-mode-migrate.m
with-arc-mode-migrate.m.result
with-arc-mode-modify.m
with-arc-mode-modify.m.result