mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Support factory initializers.
These never appear in Swift code, but they can appear when serializing the
full output of SILGen ("SIB" format) because that includes code synthesized
for imported Clang declarations.
rdar://problem/22098491
Swift SVN r31364
This commit is contained in:
@@ -167,9 +167,11 @@ using AccessorKindField = BCFixed<3>;
|
||||
// VERSION_MAJOR.
|
||||
enum CtorInitializerKind : uint8_t {
|
||||
Designated = 0,
|
||||
Convenience = 1
|
||||
Convenience = 1,
|
||||
Factory = 2,
|
||||
ConvenienceFactory = 3,
|
||||
};
|
||||
using CtorInitializerKindField = BCFixed<1>;
|
||||
using CtorInitializerKindField = BCFixed<2>;
|
||||
|
||||
// These IDs must \em not be renumbered or reordered without incrementing
|
||||
// VERSION_MAJOR.
|
||||
|
||||
Reference in New Issue
Block a user