swift
921555ab - [Macros] Fix source location for declaration syntax of attached macros

Commit
2 years ago
[Macros] Fix source location for declaration syntax of attached macros Use the correct source file. Previously, the location of declaration macros were sent to executable plugins as if the were in the source file of the attribute. This was problematic when the attribute is synsthesized by a macro. When source location were used in the plugin, for example, as a diagnostic location, it ended up with an unknown location.
Author
Parents
Loading