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 {
199199 return handle ( self . generateSimpleDeclAttr ( attribute: node, kind: . atRethrows) )
200200 case . none where attrName == " _unavailableInEmbedded " :
201201 return handle ( self . generateUnavailableInEmbeddedAttr ( attribute: node) ? . asDeclAttribute)
202+
203+ // Renamed attributes.
202204 case . none where attrName == " _functionBuilder " :
203205 // TODO: Diagnostics. '_functionBuilder' is renamed to 'resultBuilder'
204206 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) )
206216
207217 // Simple attributes.
208218 case . addressableSelf,
You can’t perform that action at this time.
0 commit comments