File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,20 @@ extension ASTGenVisitor {
199
199
return handle ( self . generateSimpleDeclAttr ( attribute: node, kind: . atRethrows) )
200
200
case . none where attrName == " _unavailableInEmbedded " :
201
201
return handle ( self . generateUnavailableInEmbeddedAttr ( attribute: node) ? . asDeclAttribute)
202
+
203
+ // Renamed attributes.
202
204
case . none where attrName == " _functionBuilder " :
203
205
// TODO: Diagnostics. '_functionBuilder' is renamed to 'resultBuilder'
204
206
return handle ( self . generateSimpleDeclAttr ( attribute: node, kind: . resultBuilder) )
205
-
207
+ case . none where attrName == " _inlineable " :
208
+ // TODO: Diagnose.
209
+ return handle ( self . generateSimpleDeclAttr ( attribute: node, kind: . inlinable) )
210
+ case . none where attrName == " inlineable " :
211
+ // TODO: Diagnose.
212
+ return handle ( self . generateSimpleDeclAttr ( attribute: node, kind: . inlinable) )
213
+ case . none where attrName == " _versioned " :
214
+ // TODO: Diagnose.
215
+ return handle ( self . generateSimpleDeclAttr ( attribute: node, kind: . usableFromInline) )
206
216
207
217
// Simple attributes.
208
218
case . addressableSelf,
You can’t perform that action at this time.
0 commit comments