mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Macros] Implement AST printing and module interface generation for macros
This commit is contained in:
@@ -4314,10 +4314,7 @@ public:
|
||||
uint8_t rawAccessLevel =
|
||||
getRawStableAccessLevel(macro->getFormalAccess());
|
||||
|
||||
Type resultType = evaluateOrDefault(
|
||||
S.getASTContext().evaluator,
|
||||
ResultTypeRequest{const_cast<MacroDecl *>(macro)},
|
||||
Type());
|
||||
Type resultType = macro->getResultInterfaceType();
|
||||
|
||||
unsigned abbrCode = S.DeclTypeAbbrCodes[MacroLayout::Code];
|
||||
MacroLayout::emitRecord(S.Out, S.ScratchRecord, abbrCode,
|
||||
|
||||
Reference in New Issue
Block a user