hanchenye-llvm-project/clang/test/CodeGenObjC
John McCall 31168b077c Automatic Reference Counting.
Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
in no particular order.

llvm-svn: 133103
2011-06-15 23:02:42 +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
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
arc-arm.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-block-ivar-layout.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-bridged-cast.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-foreach.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-ivar-layout.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-no-runtime.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-related-result-type.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-unopt.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-weak-property.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc.m Automatic Reference Counting. 2011-06-15 23:02:42 +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
autorelease.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
bitfield-1.m
bitfield-access.m tests: Tweak test to not write to the same temporary twice, in the hopes of avoiding sporadic win32 failures about renaming a temporary. 2011-04-28 21:23:38 +00:00
bitfield-gnu.m Fix for PR8695. 2010-12-26 20:12:30 +00:00
bitfield-ivar-metadata.m
bitfield-ivar-offsets.m Pack ivar offsets together. 2011-05-04 21:37:25 +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 Automatic Reference Counting. 2011-06-15 23:02:42 +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 Convert Clang over to resuming from landing pads with llvm.eh.resume. 2011-05-28 21:13:02 +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
class-getter-dotsyntax.m
class-type.m
compatibility-alias.m
complex-property.m Fix a code gen. bug involving generation of getter method 2010-03-25 21:56:43 +00:00
constant-string-class-1.m Patch to fix IR-gen crash generating structure ABI which implements 2011-05-17 22:21:16 +00:00
constant-string-class.m Patch to fix IR-gen crash generating structure ABI which implements 2011-05-17 22:21:16 +00:00
constant-strings.m IRgen/Obj-C: Emit CFStrings and NSStrings with the alignment of the char type, 2011-04-12 23:30:52 +00:00
continuation-class.m
deadcode_strip_used_var.m
debug-info-block-helper.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
debug-info-blocks.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
debug-info-class-extension.m Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name. 2011-05-12 21:29:57 +00:00
debug-info-class-extension2.m Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name. 2011-05-12 21:29:57 +00:00
debug-info-class-extension3.m Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name. 2011-05-12 21:29:57 +00:00
debug-info-crash.m These tests require particular registered targets. Declared as such. 2011-06-04 04:38:16 +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-getter-name.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
debug-info-linkagename.m Robustify test. 2010-08-25 17:32:22 +00:00
debug-info-property.m Emit debug info for Objective-C properties. 2011-04-16 00:12:55 +00:00
debug-info-pubtypes.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +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 These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
debug-property-synth.m Fix location of setter/getter synthesized for a property. 2011-05-19 23:37:41 +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
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
encode-cstyle-method.m Implement method type encoding in the presense 2010-04-08 21:29:11 +00:00
encode-test-2.m
encode-test-3.m
encode-test-4.m
encode-test-5.m
encode-test.m Reapply the commits that r131401 reverted and add a fix for PR9927. 2011-05-17 00:46:38 +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
forward-decl-param.m Objective-C doesn't consider the use of incomplete types as method 2011-05-27 01:19:52 +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
hidden.m
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
instance-method-metadata.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
interface-layout-64.m Pack ivar offsets together. 2011-05-04 21:37:25 +00:00
interface.m
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 These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
ivar-layout-no-optimize.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24: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
local-static-block.m Local static block variable referecned in its 2010-09-07 23:26:17 +00:00
message-arrays.m
messages-2.m Only perform the null-initialization of an aggregate result of a message 2011-05-14 21:12:11 +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 Pack ivar offsets together. 2011-05-04 21:37:25 +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
mrr-autorelease.m Automatic Reference Counting. 2011-06-15 23:02:42 +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
next-objc-dispatch.m NeXT: Clean up dispatch method policy selection. 2010-04-24 17:56:46 +00:00
no-category-class.m
no-vararg-messaging.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
non-lazy-classes.m tests: Force a triple. 2010-04-26 10:58:19 +00:00
nonlazy-msgSend.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
ns-constant-strings.m merge strings created by 2011-01-17 22:11:21 +00:00
objc-align.m
objc-assign-ivar.m
objc-gc-aggr-assign.m Changed test to use FileCheck. 2010-05-21 16:13:37 +00:00
objc-read-weak-byref.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
objc2-assign-global.m
objc2-ivar-assign.m
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
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
objc2-protocol-enc.m
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
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
overloadable.m
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
property-agrr-getter.m We can't emit an aggregate cast as its sub-expression in general just 2011-04-12 22:02:02 +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
property-incr-decr-1.m
property-list-in-class.m
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
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 These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
protocol-property-synth.m
protocols-lazy.m
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
related-result-type.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
return-objc-object.mm IRGen support for functions returning objc object 2010-08-11 17:37:35 +00:00
runtime-fns.m
sel-as-builtin-type.m
simplify-exceptions.mm IRgen/Darwin: Fix refacto introduced in Triple changes. 2011-04-26 19:43:00 +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
super-dotsyntax-property.m
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
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
synthesize_ivar.m
try.m These tests require particular registered targets. Declared as such. 2011-06-03 22:24:54 +00:00
undefined-protocol.m
unname-bf-metadata.m
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