hanchenye-llvm-project/clang/test/ARCMT
Andy Gibbs 0fea04509a 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.
This change was initially proposed as a solution to the problem highlighted by check-in r164677, i.e. that -verify will not cause a test-case failure where the compile command does not actually reference the file.

Patch reviewed by David Blaikie.

llvm-svn: 166281
2012-10-19 12:49:32 +00:00
..
Inputs
with space
Common.h [arcmt] Use CFBridgingRetain/CFBridgingRelease instead of __bridge_retained/__bridge_transfer 2012-06-01 00:10:47 +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] Remove an unused -autorelease, without failing with error, for this 2012-05-23 21:50:04 +00:00
autoreleases.m.result [arcmt] Use CFBridgingRetain/CFBridgingRelease instead of __bridge_retained/__bridge_transfer 2012-06-01 00:10:47 +00:00
check-api.m
check-with-serialized-diag.m
checking.m revert r160839 for now. 2012-07-27 21:34:23 +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 [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
init.m
init.m.result
migrate-emit-errors.m
migrate-plist-output.m
migrate-space-in-path.m
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 revert r160839 for now. 2012-07-27 21:34:23 +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-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-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-subscripting-literals-in-arc.m [objcmt] When checking whether the subscripting methods are declared use 2012-06-19 02:22:02 +00:00
objcmt-subscripting-literals-in-arc.m.result [objcmt] When checking whether the subscripting methods are declared use 2012-06-19 02:22:02 +00:00
objcmt-subscripting-literals.m [objcmt] Check for classes that accept 'objectForKey:' (or the other selectors 2012-07-06 00:07:09 +00:00
objcmt-subscripting-literals.m.result [objcmt] Check for classes that accept 'objectForKey:' (or the other selectors 2012-07-06 00:07:09 +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
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