mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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.
This commit is contained in:
@@ -5453,7 +5453,8 @@ llvm::Error DeclDeserializer::deserializeDeclCommon() {
|
||||
}
|
||||
Attr = MacroRoleAttr::create(
|
||||
ctx, SourceLoc(), SourceRange(),
|
||||
static_cast<MacroSyntax>(rawMacroSyntax), role, names, isImplicit);
|
||||
static_cast<MacroSyntax>(rawMacroSyntax), SourceLoc(), role, names,
|
||||
SourceLoc(), isImplicit);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user