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.
2 parents 70c3e43 + 69fc09f commit a5d4904Copy full SHA for a5d4904
lib/Frontend/PrintingDiagnosticConsumer.cpp
@@ -576,7 +576,9 @@ PrintingDiagnosticConsumer::PrintingDiagnosticConsumer(
576
: Stream(stream) {}
577
578
PrintingDiagnosticConsumer::~PrintingDiagnosticConsumer() {
579
+#if SWIFT_BUILD_SWIFT_SYNTAX
580
for (const auto &sourceFileSyntax : sourceFileSyntax) {
581
swift_ASTGen_destroySourceFile(sourceFileSyntax.second);
582
}
583
+#endif
584
0 commit comments