mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Add DeclBaseName::Kind::Constructor
Not used yet.
This commit is contained in:
@@ -55,7 +55,7 @@ const uint16_t VERSION_MAJOR = 0;
|
||||
/// describe what change you made. The content of this comment isn't important;
|
||||
/// it just ensures a conflict if two people change the module format.
|
||||
/// Don't worry about adhering to the 80-column limit for this line.
|
||||
const uint16_t VERSION_MINOR = 402; // Last change: effects(releasenone)
|
||||
const uint16_t VERSION_MINOR = 403; // Last change: `init` special name
|
||||
|
||||
using DeclIDField = BCFixed<31>;
|
||||
|
||||
@@ -380,6 +380,7 @@ using OptionalTypeKindField = BCFixed<2>;
|
||||
enum class DeclNameKind: uint8_t {
|
||||
Normal,
|
||||
Subscript,
|
||||
Constructor,
|
||||
Destructor
|
||||
};
|
||||
|
||||
@@ -394,6 +395,8 @@ enum SpecialIdentifierID : uint8_t {
|
||||
OBJC_HEADER_MODULE_ID,
|
||||
/// Special value for the special subscript name
|
||||
SUBSCRIPT_ID,
|
||||
/// Special value for the special constructor name
|
||||
CONSTRUCTOR_ID,
|
||||
/// Special value for the special destructor name
|
||||
DESTRUCTOR_ID,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user