mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
@availability: implement serialization and AST printing
Swift SVN r16010
This commit is contained in:
@@ -964,11 +964,22 @@ namespace decls_block {
|
||||
|
||||
using AsmnameDeclAttrLayout = BCRecordLayout<
|
||||
Asmname_DECL_ATTR,
|
||||
BCBlob // asmname
|
||||
BCFixed<1>, // implicit flag
|
||||
BCBlob // asmname
|
||||
>;
|
||||
|
||||
using AvailabilityDeclAttrLayout = BCRecordLayout<
|
||||
Availability_DECL_ATTR,
|
||||
BCFixed<1>, // implicit flag
|
||||
BCFixed<1>, // is unconditionally unavailable?
|
||||
BCVBR<5>, // number of bytes in platform string
|
||||
BCVBR<5>, // number of bytes in message string
|
||||
BCBlob // platform, followed by message
|
||||
>;
|
||||
|
||||
using ObjCDeclAttrLayout = BCRecordLayout<
|
||||
ObjC_DECL_ATTR,
|
||||
BCFixed<1>, // implicit flag
|
||||
ObjCDeclAttrKindField, // kind
|
||||
BCArray<IdentifierIDField>
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user