Add an Objective-C metatype representation spelled with @objc_metatype.

This representation is just a placeholder at the moment.


Swift SVN r14076
This commit is contained in:
Doug Gregor
2014-02-19 07:21:38 +00:00
parent c54f98fbc9
commit a1673d7c8f
10 changed files with 103 additions and 29 deletions

View File

@@ -37,7 +37,7 @@ const uint16_t VERSION_MAJOR = 0;
/// Serialized module format minor version number.
///
/// When the format changes IN ANY WAY, this number should be incremented.
const uint16_t VERSION_MINOR = 4;
const uint16_t VERSION_MINOR = 5;
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -119,7 +119,7 @@ using ResultConventionField = BCFixed<2>;
// These IDs must \em not be renumbered or reordered without incrementing
// VERSION_MAJOR.
enum MetatypeRepresentation : uint8_t {
MR_None, MR_Thin, MR_Thick
MR_None, MR_Thin, MR_Thick, MR_ObjC
};
using MetatypeRepresentationField = BCFixed<2>;