swift
85ddda12
- AST: Introduce a `getFirstElement()` utility on `EnumCaseDecl`.
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
AST: Introduce a `getFirstElement()` utility on `EnumCaseDecl`. This utility helps codify the practice of using the attributes of the first element of a case decl as the attributes for the entire case.
References
#62300 - ModuleInterface: Avoid printing `@_spi` enum elements in public swiftinterfaces
Author
tshortli
Committer
tshortli
Parents
8e5988e5
Loading