mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Although the declaration of macros doesn't appear in Swift source code that uses macros, they still operate as declarations within the language. Rework `Macro` as `MacroDecl`, a generic value declaration, which appropriate models its place in the language. The vast majority of this change is in extending all of the various switches on declaration kinds to account for macros.
45 KiB
45 KiB