llvm-project/clang/test/CodeGenObjC
Fariborz Jahanian 5de5313abe Refine rules for atomic property api to
pass a previously failing clang test.
// rdar://8808439

llvm-svn: 129004
2011-04-06 16:05:26 +00:00
..
2008-08-25-incompatible-cond-expr.m Move some Objective-C tests to SemaObjC and CodeGenObjC. 2011-02-22 01:23:29 +00:00
2008-10-23-invalid-icmp.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
2009-01-21-invalid-debug-info.m Move some Objective-C tests to SemaObjC and CodeGenObjC. 2011-02-22 01:23:29 +00:00
2010-02-09-DbgSelf.m Move some Objective-C tests to SemaObjC and CodeGenObjC. 2011-02-22 01:23:29 +00:00
2010-02-15-Dbg-MethodStart.m Move some Objective-C tests to SemaObjC and CodeGenObjC. 2011-02-22 01:23:29 +00:00
arm-atomic-scalar-setter-getter.m Objective-c armv7 API for atomic properties of 2011-02-18 19:15:13 +00:00
assign.m IRgen: Assignment to Objective-C properties shouldn't reload the value, for 2010-06-29 22:44:21 +00:00
atomic-aggregate-property.m Refine rules for atomic property api to 2011-04-06 16:05:26 +00:00
attr-availability.m On Mac OS X, the presence of an 'availability' attribute for that 2011-03-26 12:10:19 +00:00
attr-strong.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
bitfield-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield-access.m tests: Fix a dependency on the temporary value names. 2010-09-03 00:24:06 +00:00
bitfield-gnu.m Fix for PR8695. 2010-12-26 20:12:30 +00:00
bitfield-ivar-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield-ivar-offsets.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield_encoding.m Fixed Objective-C type encoding for bitfields for the GNU runtime to match the encoding used by GCC. 2010-06-04 01:10:52 +00:00
block-6.m Fixes an IRgen bug where __block variable is 2011-01-26 23:08:27 +00:00
block-var-layout.m A few more tweaks to the blocks AST representation: 2011-02-07 10:33:21 +00:00
blocks-1.m IR Gen. part of API support for __block cxx 2010-12-02 17:02:11 +00:00
blocks-2.m The flags we're supposed to write into a byref struct are *not* the 2011-02-18 02:58:31 +00:00
blocks-3.m Reorganize the emission of local variables. 2011-02-22 06:44:22 +00:00
blocks-4.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
blocks-5.m Fixed a block regression caused by trying to use 2010-06-07 19:39:39 +00:00
blocks-ivar-debug.m tests: Avoid spurious use of /dev/null. 2010-05-10 23:31:31 +00:00
blocks.m Don't emit read barriers for reading __weak __block variables 2011-03-16 02:53:38 +00:00
category-class.m Trying to make BuildBot happy again (related to PR7431). 2010-06-22 17:08:32 +00:00
category-super-class-meth.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-getter-dotsyntax.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
compatibility-alias.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
complex-property.m Fix a code gen. bug involving generation of getter method 2010-03-25 21:56:43 +00:00
constant-string-class.m Add unnamed_addr in CreateRuntimeVariable. 2011-01-18 21:07:57 +00:00
constant-strings.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
continuation-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
deadcode_strip_used_var.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
debug-info-crash.m merge another one in. 2010-01-25 03:38:26 +00:00
debug-info-default-synth-ivar.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
debug-info-fnname.m test case for r118726. 2010-11-10 22:19:57 +00:00
debug-info-foreach.m Do not line number entry for unconditional branches. Usually, users do not want to stop at closing '}'. 2011-03-29 18:35:54 +00:00
debug-info-getter-name.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
debug-info-linkagename.m Robustify test. 2010-08-25 17:32:22 +00:00
debug-info-selector.m Emit debug info for objc_selector. 2011-02-09 03:15:05 +00:00
debug-info-self.m Attach aritifical attribute with implicit parameters. 2010-09-29 23:09:21 +00:00
debug-info-static-var.m Add target triple. 2011-02-09 22:29:15 +00:00
default-property-synthesis.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
dot-syntax-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dot-syntax-2.m When using property-dot assignment syntax to call a setter method, 2010-06-07 22:02:01 +00:00
dot-syntax.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-cstyle-method.m Implement method type encoding in the presense 2010-04-08 21:29:11 +00:00
encode-test-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test-3.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test-4.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test-5.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test.m IRgen/Obj-C: Fix encoding of "long double". 2010-10-11 21:13:48 +00:00
exceptions-nonfragile.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
exceptions.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
for-in.m Establish the iteration variable of an ObjC for-in loop before 2011-02-22 07:16:58 +00:00
forward-class-impl-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
fpret.m objc IRGen for Next runtime message API. 2011-03-01 17:28:13 +00:00
function-decay.m Move some Objective-C tests to SemaObjC and CodeGenObjC. 2011-02-22 01:23:29 +00:00
gnu-exceptions.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
hidden-visibility.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
hidden.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
id-isa-codegen.m Fix the test some more. 2010-03-09 22:17:52 +00:00
illegal-UTF8.m Move some Objective-C tests to SemaObjC and CodeGenObjC. 2011-02-22 01:23:29 +00:00
image-info.m IRgen/NeXT: Reuse EmitImageInfo for both fragile and non-fragile ABI. This fixes Clang to correctly emit the "CorrectedSynthesize" bit when using the non-fragile ABI. 2010-04-25 20:39:01 +00:00
implicit-objc_msgSend.m Restore patch reversed in r118475. Fixes 2010-11-09 21:38:20 +00:00
implicit-property.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
interface-layout-64.m ivars craeted for explicit @synthesize and those 2010-12-15 23:29:04 +00:00
interface.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ivar-layout-64-bitfields.m _Bool is not a keyword in C++. Fixes PR7388 and PR8349. 2010-10-13 20:00:38 +00:00
ivar-layout-64.m More tests for ObjC++ GC support. 2010-05-19 23:07:54 +00:00
ivar-layout-array0-struct.m Consider zero-length array of structs when 2011-01-03 19:23:18 +00:00
ivar-layout-no-optimize.m More tests for ObjC++ GC support. 2010-05-19 23:07:54 +00:00
ivar-layout-nonfragile-abi2.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
ivars.m LastFieldBitfield in CGObjCCommonMac::BuildAggrIvarLayout keeps bitfields or unnamed fields but later the code 2010-09-06 12:00:10 +00:00
link-errors.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
local-static-block.m Local static block variable referecned in its 2010-09-07 23:26:17 +00:00
message-arrays.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
messages-2.m Zero-initialize the struct-return slot of an Objective-C message 2011-02-26 09:12:15 +00:00
messages.m Fixed type error in last commit (forgot that now that selectors are not 2011-03-23 22:52:06 +00:00
metadata-symbols-32.m and revert the related tests, too 2010-07-19 22:53:57 +00:00
metadata-symbols-64.m Obj-C/NeXT: Update and reapply 108847, now that changes are more baked. 2011-03-25 20:09:09 +00:00
metadata_symbols.m Obj-C/NeXT: Update and reapply 108847, now that changes are more baked. 2011-03-25 20:09:09 +00:00
misc-atomic-property.m Generate atomic api for atomic properties (x86 and x86_64 2011-04-05 21:41:23 +00:00
missing-atend-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
nested-rethrow.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
newproperty-nested-synthesis-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
next-objc-dispatch.m NeXT: Clean up dispatch method policy selection. 2010-04-24 17:56:46 +00:00
no-category-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
no-vararg-messaging.m objc IRGen for Next runtime message API. 2011-03-01 17:28:13 +00:00
non-lazy-classes.m tests: Force a triple. 2010-04-26 10:58:19 +00:00
ns-constant-strings.m merge strings created by 2011-01-17 22:11:21 +00:00
objc-align.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-assign-ivar.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-gc-aggr-assign.m Changed test to use FileCheck. 2010-05-21 16:13:37 +00:00
objc-read-weak-byref.m update a bunch of tests that are using the x86 backend instead of grepping IR :( 2010-09-22 06:09:31 +00:00
objc2-assign-global.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-ivar-assign.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-legacy-dispatch.m NeXT: Clean up dispatch method policy selection. 2010-04-24 17:56:46 +00:00
objc2-new-gc-api-strongcast.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-no-strong-cast.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-no-write-barrier.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-nonfragile-abi-impl.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
objc2-property-encode.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-protocol-enc.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-retain-codegen.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-strong-cast-1.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-strong-cast.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-assign.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-block-call.m Don't call objc_read_weak as part of emitting a block literal. 2011-02-16 00:49:34 +00:00
objc2-weak-compare.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-import-attribute.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-weak-ivar-debug.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-ivar.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-2.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-3.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-4.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-5.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
object-incr-decr-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overloadable.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
predefined-expr.m Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
property-aggr-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-agrr-getter.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-category-impl.m Fixes a problem in generation of meta-data for 2010-06-22 16:33:55 +00:00
property-complex.m Fix test. 2010-05-11 18:48:13 +00:00
property-dbg.m stop looking for #uses comments. 2010-09-02 22:48:26 +00:00
property-getter-dot-syntax.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-incr-decr-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-list-in-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-ref-cast-to-void.m Casting of a property reference to 'void' did not 2010-09-04 19:49:18 +00:00
property-setter-attr.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-type-mismatch.m Revert r126678. 2011-02-28 21:19:34 +00:00
property.m Revert r126678. 2011-02-28 21:19:34 +00:00
protocol-in-extended-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-property-synth.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocols-lazy.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocols.m Correctly generate IR for ObjC messages sends to protocol-qualified types. 2010-05-17 20:12:43 +00:00
rdr-6732143-dangling-block-reference.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
return-objc-object.mm IRGen support for functions returning objc object 2010-08-11 17:37:35 +00:00
runtime-fns.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
sel-as-builtin-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
stand-alone-implementation.m Patch removes IVars list from ObjCInterfaceDecl and 2010-02-19 00:31:17 +00:00
super-classmethod-category.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super-dotsyntax-property.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super-dotsyntax-struct-property.m Return type of a setter call caused by 2010-07-24 00:34:08 +00:00
super-message-fragileabi.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
synchronized.m Some more correctness fixes and code-size optimizations for fragile-ABI 2010-08-04 05:59:32 +00:00
synthesize_ivar-cont-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
synthesize_ivar.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
try.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
undefined-protocol.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unname-bf-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unwind-fn.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
variadic-sends.m Revert r126678. 2011-02-28 21:19:34 +00:00
x86_64-struct-return-gc.m now that we have CGT around, we can start using preferred types 2010-07-29 04:46:19 +00:00