We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8819bd commit 69cdb52Copy full SHA for 69cdb52
lib/Sema/TypeCheckMacros.cpp
@@ -98,9 +98,10 @@ static void const *lookupMacroTypeMetadataByExternalName(
98
MacroDefinition MacroDefinitionRequest::evaluate(
99
Evaluator &evaluator, MacroDecl *macro
100
) const {
101
-#if SWIFT_SWIFT_PARSER
102
ASTContext &ctx = macro->getASTContext();
103
+#if SWIFT_SWIFT_PARSER
104
+
105
/// Look for the type metadata given the external module and type names.
106
auto macroMetatype = lookupMacroTypeMetadataByExternalName(
107
ctx, macro->externalModuleName.str(),
0 commit comments