diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-12-23 21:35:43 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-12-23 21:35:43 +0000 |
commit | 1d56c9eed77fe703f389bfa82f79b155a30168d4 (patch) | |
tree | 29762c9bc0ea18c3550ce84cc9b111dd8859343a /clang/test/SemaObjC | |
parent | 4c6340188a96c4f4b5a2e8035f0a0e0b47bfa227 (diff) | |
download | bcm5719-llvm-1d56c9eed77fe703f389bfa82f79b155a30168d4.tar.gz bcm5719-llvm-1d56c9eed77fe703f389bfa82f79b155a30168d4.zip |
Add -fobjc-default-synthesized-properties flag
to allow us to explicitly control whether or
not Objective-C properties are default synthesized.
Currently this feature only works when using
the -fobjc-non-fragile-abi2 flag (so there is
no functionality change), but we can now turn
off this feature without turning off all the features
coupled with -fobjc-non-fragile-abi2.
llvm-svn: 122519
Diffstat (limited to 'clang/test/SemaObjC')
-rw-r--r-- | clang/test/SemaObjC/default-synthesize-1.m | 2 | ||||
-rw-r--r-- | clang/test/SemaObjC/default-synthesize.m | 2 | ||||
-rw-r--r-- | clang/test/SemaObjC/direct-synthesized-ivar-access.m | 2 | ||||
-rw-r--r-- | clang/test/SemaObjC/synth-provisional-ivars.m | 2 | ||||
-rw-r--r-- | clang/test/SemaObjC/synthesized-ivar.m | 2 | ||||
-rw-r--r-- | clang/test/SemaObjC/warn-implicit-atomic-property.m | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/SemaObjC/default-synthesize-1.m b/clang/test/SemaObjC/default-synthesize-1.m index 374fa8314bf..c364c41fc78 100644 --- a/clang/test/SemaObjC/default-synthesize-1.m +++ b/clang/test/SemaObjC/default-synthesize-1.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -verify %s +// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -fobjc-default-synthesize-properties -verify %s @interface NSObject - (void) release; diff --git a/clang/test/SemaObjC/default-synthesize.m b/clang/test/SemaObjC/default-synthesize.m index be3ef081171..1477478dfb8 100644 --- a/clang/test/SemaObjC/default-synthesize.m +++ b/clang/test/SemaObjC/default-synthesize.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -verify %s +// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -fobjc-default-synthesize-properties -verify %s @interface NSString @end diff --git a/clang/test/SemaObjC/direct-synthesized-ivar-access.m b/clang/test/SemaObjC/direct-synthesized-ivar-access.m index e59fa81662d..4dedafc29ed 100644 --- a/clang/test/SemaObjC/direct-synthesized-ivar-access.m +++ b/clang/test/SemaObjC/direct-synthesized-ivar-access.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -Wnonfragile-abi2 -fsyntax-only -fobjc-nonfragile-abi2 -verify %s +// RUN: %clang_cc1 -Wnonfragile-abi2 -fsyntax-only -fobjc-nonfragile-abi2 -fobjc-default-synthesize-properties -verify %s // rdar://8673791 @interface I { diff --git a/clang/test/SemaObjC/synth-provisional-ivars.m b/clang/test/SemaObjC/synth-provisional-ivars.m index 1fb1abb7ce0..482ccc1e647 100644 --- a/clang/test/SemaObjC/synth-provisional-ivars.m +++ b/clang/test/SemaObjC/synth-provisional-ivars.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -verify %s +// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -fobjc-default-synthesize-properties -verify %s int bar; diff --git a/clang/test/SemaObjC/synthesized-ivar.m b/clang/test/SemaObjC/synthesized-ivar.m index 6d7e4e7ff20..06530144b85 100644 --- a/clang/test/SemaObjC/synthesized-ivar.m +++ b/clang/test/SemaObjC/synthesized-ivar.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -verify %s +// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi2 -fobjc-default-synthesize-properties -verify %s @interface I { } diff --git a/clang/test/SemaObjC/warn-implicit-atomic-property.m b/clang/test/SemaObjC/warn-implicit-atomic-property.m index b0a6597989e..ad9cbd60678 100644 --- a/clang/test/SemaObjC/warn-implicit-atomic-property.m +++ b/clang/test/SemaObjC/warn-implicit-atomic-property.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -Wimplicit-atomic-properties -fobjc-nonfragile-abi2 -verify %s +// RUN: %clang_cc1 -fsyntax-only -Wimplicit-atomic-properties -fobjc-nonfragile-abi2 -fobjc-default-synthesize-properties -verify %s // rdar://8774580 @interface Super |