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 04e100d commit 69fc09fCopy full SHA for 69fc09f
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