diff options
| author | John McCall <rjmccall@apple.com> | 2011-07-06 00:26:06 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2011-07-06 00:26:06 +0000 |
| commit | 24fc0decfe337258a3dacc7936a9da84e2406cdc (patch) | |
| tree | e91ae1686c100a1cadcdc577c82e30c052f93ee6 /clang/test/SemaObjC/warn-retain-cycle.m | |
| parent | af51b1f7096578431578d6a1430366f7ad365430 (diff) | |
| download | bcm5719-llvm-24fc0decfe337258a3dacc7936a9da84e2406cdc.tar.gz bcm5719-llvm-24fc0decfe337258a3dacc7936a9da84e2406cdc.zip | |
Change the driver's logic about Objective-C runtimes: abstract out a
structure to hold inferred information, then propagate each invididual
bit down to -cc1. Separate the bits of "supports weak" and "has a native
ARC runtime"; make the latter a CodeGenOption.
The tool chain is still driving this decision, because it's the place that
has the required deployment target information on Darwin, but at least it's
better-factored now.
llvm-svn: 134453
Diffstat (limited to 'clang/test/SemaObjC/warn-retain-cycle.m')
| -rw-r--r-- | clang/test/SemaObjC/warn-retain-cycle.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/warn-retain-cycle.m b/clang/test/SemaObjC/warn-retain-cycle.m index fd69ce2e5b0..71385b8400b 100644 --- a/clang/test/SemaObjC/warn-retain-cycle.m +++ b/clang/test/SemaObjC/warn-retain-cycle.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi -fobjc-arc -fblocks -verify %s +// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi -fobjc-runtime-has-weak -fobjc-arc -fblocks -verify %s @interface Test0 - (void) setBlock: (void(^)(void)) block; |

