mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This patch adds support for custom C++ destructors. The most notable thing here, I think, is that this is the first place a struct type has a custom destructor. I suspect with more code we will expose a few places where optimization passes need to be fixed to account for this. One of many patches to fix SR-12797.
69 lines
1.1 KiB
Plaintext
69 lines
1.1 KiB
Plaintext
module AccessSpecifiers {
|
|
header "access-specifiers.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module TypeClassification {
|
|
header "type-classification.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module Constructors {
|
|
header "constructors.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module ConstructorsObjC {
|
|
header "constructors-objc.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module Destructors {
|
|
header "destructors.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module LoadableTypes {
|
|
header "loadable-types.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module MemberwiseInitializer {
|
|
header "memberwise-initializer.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module MemoryLayout {
|
|
header "memory-layout.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module MemberVariables {
|
|
header "member-variables.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module ProtocolConformance {
|
|
header "protocol-conformance.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module SynthesizedInitializers {
|
|
header "synthesized-initializers.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module DebugInfo {
|
|
header "debug-info.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module NestedRecords {
|
|
header "nested-records.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module LinkedRecords {
|
|
header "linked-records.h"
|
|
}
|