hanchenye-llvm-project/clang/test/CodeGenObjCXX
John McCall f593b10d04 Use the correct field to copy/dispose a __block variable.
We were previously hard-coding a particular field index.  This was
fine before (because we were obviously guaranteed the presence
of a copy/dispose member) except for (1) alignment padding and
(2) future extensions adding extra members to the header, such
as the extended-layout pointer.

Note that we only introduce the extended-layout pointer in the
presence of structs.  (We also seem to be introducing it even
in the presence of an all-non-object layout, but that's a
different potential issue.)

llvm-svn: 173122
2013-01-22 03:56:22 +00:00
..
Inputs
2007-10-03-MetadataPointers.mm
2010-08-04-Template.mm
2010-08-06-X.Y-syntax.mm
address-safety-attr.mm Use the individual -fsanitize=<...> arguments to control which of the UBSan 2012-11-05 22:21:05 +00:00
arc-blocks.mm Use the correct field to copy/dispose a __block variable. 2013-01-22 03:56:22 +00:00
arc-exceptions.mm At -O0, prefer objc_storeStrong with a null new value to the 2012-10-17 02:28:37 +00:00
arc-globals.mm
arc-mangle.mm
arc-move.mm
arc-new-delete.mm At -O0, prefer objc_storeStrong with a null new value to the 2012-10-17 02:28:37 +00:00
arc-pseudo-destructors.mm
arc-references.mm Remove invalid double colon in test case was previously ignored by FileCheck. 2012-09-18 20:59:03 +00:00
arc-returns-inner-reference-ptr.mm
arc-special-member-functions.mm At -O0, prefer objc_storeStrong with a null new value to the 2012-10-17 02:28:37 +00:00
arc.mm objective-C arc: load of a __weak object happens via call to 2012-11-27 23:02:53 +00:00
block-in-template-inst.mm
block-var-layout.mm objC block layout: Patch reorders block layout to 2013-01-17 00:25:06 +00:00
blocks.mm
catch-id-type.mm
copy.mm
copyable-property-object.mm
debug-info.mm
encode.mm
exceptions.mm Declare +new instead of -new in test. 2013-01-10 22:17:49 +00:00
foreach-statement.mm
gc.mm
implementation-in-extern-c.mm objective-C IRGen: for @implementation nested in 2012-10-26 20:22:11 +00:00
implicit-copy-assign-operator.mm When performing a trivial copy of a C++ type, we must be careful not 2012-08-21 04:10:00 +00:00
implicit-copy-constructor.mm
ivar-objects.mm
lambda-expressions.mm
literals.mm
lvalue-reference-getter.mm
mangle-blocks.mm
mangle.mm
message-reference.mm
method-local-extern-mangle.mm
nrvo.mm
objc-container-subscripting-1.mm
objc-container-subscripting.mm
pr14474-gline-tables-only.mm Fix PR14474: don't emit debug info for interface types in -gline-tables-only mode. 2012-12-03 18:28:12 +00:00
property-derived-to-base-conv.mm
property-dot-copy.mm
property-dot-reference.mm
property-object-conditional-exp.mm
property-object-reference-1.mm
property-object-reference-2.mm Reapply r170344, this time without forgetting to commit the header changes. 2012-12-17 18:54:24 +00:00
property-object-reference.mm
property-objects.mm Don't try to save the assigned value in a Objective-C property assignment 2012-11-13 23:16:33 +00:00
property-reference.mm
refence-assign-write-barrier.mm
references.mm
rtti.mm
selector-expr-lvalue.mm
write-barrier-global-assign.mm