Add support for parsing @lifetime attribute to specify lifetime dependencies on declarations

This commit is contained in:
Meghana Gupta
2024-09-01 00:36:37 -07:00
parent 854298ab3b
commit e61d87c01c
12 changed files with 200 additions and 8 deletions

View File

@@ -189,6 +189,8 @@ extension ASTGenVisitor {
fatalError("unimplemented")
case .allowFeatureSuppression:
return self.generateAllowFeatureSuppressionAttr(attribute: node)?.asDeclAttribute
case .lifetime:
fatalError("unimplemented")
// Simple attributes.
case .alwaysEmitConformanceMetadata,