llvm-project/clang/test/CodeGenObjCXX
Ben Langmuir 11eab6120d Fix an assertion failure trying to emit a trivial destructor in ObjC++
If a base class declares a destructor, we will add the implicit
destructor for the subclass in
ActOnFields -> AddImplicitlyDeclaredMembersToClass

But in Objective C++, we did not compute whether we have a trivial
destructor until after that in
CXXRecordDecl::completeDefinition()

This was leading to a mismatch between the class, which thought it had
no trivial destructor, and the CXXDestructorDecl, which considered
itself trivial. It turns out the reason we delayed setting this until
completeDefinition() was for a warning that has since been removed as
part of -Warc-abi, so we just do it eagerly now.

llvm-svn: 218520
2014-09-26 15:27:29 +00:00
..
Inputs Objective-C ARC. Use of non-retain/autorelease API 2014-08-08 17:31:14 +00:00
2007-10-03-MetadataPointers.mm
2010-08-04-Template.mm
2010-08-06-X.Y-syntax.mm
address-safety-attr.mm Unify clang/llvm attributes for asan/tsan/msan (Clang part) 2013-02-26 06:58:27 +00:00
arc-attrs.mm Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
arc-blocks.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
arc-cxx11-member-init.mm Objective-C++ IRGen. Due to change to AST for initialization of c++11’s 2014-03-14 15:40:54 +00:00
arc-exceptions.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arc-globals.mm Include translation unit filename in global ctor symbol names. 2014-05-06 20:32:45 +00:00
arc-mangle.mm Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
arc-move.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
arc-new-delete.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arc-pseudo-destructors.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arc-references.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arc-returns-inner-reference-ptr.mm
arc-special-member-functions.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
arc.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
block-id.mm CodeGenObjCXX: Add a test for r214699 2014-08-05 00:01:15 +00:00
block-in-template-inst.mm
block-var-layout.mm Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
blocks.mm
catch-id-type.mm Introduce a new mangling for protocol-qualified ObjC types in C++. This allows 2013-06-18 22:41:37 +00:00
copy.mm
copyable-property-object.mm
debug-info.mm
destroy.mm Fix an assertion failure trying to emit a trivial destructor in ObjC++ 2014-09-26 15:27:29 +00:00
encode.mm Use private linkage for globals we already name with \01L and \01l. 2014-02-27 19:01:11 +00:00
exceptions-legacy.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
exceptions.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
externally-initialized-selectors.mm Use private linkage for globals we already name with \01L and \01l. 2014-02-27 19:01:11 +00:00
foreach-statement.mm
gc.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
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 Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
implicit-copy-constructor.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
ivar-objects.mm
lambda-expressions.mm Use private linkage for globals we already name with \01L and \01l. 2014-02-27 19:01:11 +00:00
literals.mm Objective-C ARC. Use of non-retain/autorelease API 2014-08-08 17:31:14 +00:00
lvalue-reference-getter.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
mangle-blocks.mm AST: Fix the mangling for unqualified-blocks 2014-08-04 06:16:50 +00:00
mangle.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
message-reference.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
message.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
method-local-extern-mangle.mm
microsoft-abi-arc-param-order.mm [ms-cxxabi] Use inalloca on win32 when passing non-trivial C++ objects 2014-02-01 00:04:45 +00:00
nrvo.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
objc-container-subscripting-1.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
objc-container-subscripting.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
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 Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
property-lvalue-capture.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
property-object-conditional-exp.mm
property-object-reference-1.mm
property-object-reference-2.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
property-object-reference.mm
property-objects.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
property-reference.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
refence-assign-write-barrier.mm
references.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
rtti.mm type_info objects are not unnamed_addr: the ABI requires us to 2014-02-08 03:26:05 +00:00
selector-expr-lvalue.mm
unknown-anytype.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
write-barrier-global-assign.mm