Alex Hoppen
75771c1579
Merge pull request #63387 from ahoppen/ahoppen/macros-swift-5
...
[Macros] Compile Macros tests with swift-version 5 instead of swift-version 4
2023-02-07 09:16:44 +01:00
Richard Wei
01e4c8df26
[Macros] Use name lookup for lazy declaration macro expansion ( #63411 )
...
- Use the name lookup table instead of adding members from a macro expansion to the parent decl context.
- Require declaration macros to specify introduced names and used the declared names to guide macro expansions lazily.
2023-02-07 11:24:42 +08:00
Alex Hoppen
ba5a727983
[Macros] Compile Macros tests with swift-version 5 instead of swift-version 4
2023-02-04 11:10:08 +01:00
Doug Gregor
f78f5729c3
Start requiring expression macros to be marked with @expression
2022-12-22 09:18:05 -08:00
Alastair Houghton
da51c04116
Two of the macros tests are failing to import SwiftDiagnostics.
...
Disabling these for now, pending a fix.
2022-12-22 09:45:59 +00:00
Rintaro Ishizaki
9f137074af
[SourceKit/Refactoring] Macro expansion
...
Add refactoring "Expand Macro" that expands macro expressions.
rdar://102739026
2022-12-06 16:20:07 -08:00