Skip to content

Commit 93248c6

Browse files
committed
[AttributeKinds] Declare @runtimeMetadata attribute
1 parent ef4605b commit 93248c6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Sources/SwiftParser/gyb_generated/DeclarationAttribute.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ extension Parser {
120120
case _documentation = "_documentation"
121121
case typeWrapperIgnored = "typeWrapperIgnored"
122122
case _noMetadata = "_noMetadata"
123+
case runtimeMetadata = "runtimeMetadata"
123124
case _spi_available = "_spi_available"
124125
}
125126
}

gyb_syntax_support/AttributeKinds.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,12 @@ def __init__(self, name, swift_name=None):
701701
UserInaccessible,
702702
NotSerialized,
703703
ABIStableToAdd, ABIBreakingToRemove, APIStableToAdd, APIStableToRemove,
704-
code=138)
704+
code=138),
705+
706+
SimpleDeclAttribute('runtimeMetadata', 'RuntimeMetadata',
707+
OnStruct, OnClass,
708+
ABIBreakingToAdd, ABIBreakingToRemove, APIBreakingToAdd, APIBreakingToRemove,
709+
code=139)
705710
]
706711

707712
# Schema for declaration modifiers:

0 commit comments

Comments
 (0)