mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a debug flag to emit invalid swiftinterface files
This commit is contained in:
@@ -551,5 +551,8 @@ bool swift::emitSwiftInterface(raw_ostream &out,
|
||||
if (needDummyProtocolDeclaration)
|
||||
InheritedProtocolCollector::printDummyProtocolDeclaration(out);
|
||||
|
||||
if (Opts.DebugPrintInvalidSyntax)
|
||||
out << "#__debug_emit_invalid_swiftinterface_syntax__\n";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user