mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ABIChecker: add an internal setting for downgrading ABI breakages to warnings
This commit is contained in:
@@ -1932,7 +1932,8 @@ static int diagnoseModuleChange(SDKContext &Ctx, SDKNodeRoot *LeftModule,
|
||||
auto pConsumer = std::make_unique<FilteringDiagnosticConsumer>(
|
||||
createDiagConsumer(*OS, FailOnError, DisableFailOnError, CompilerStyleDiags,
|
||||
SerializedDiagPath),
|
||||
std::move(allowedBreakages));
|
||||
std::move(allowedBreakages),
|
||||
/*DowngradeToWarning*/false);
|
||||
SWIFT_DEFER { pConsumer->finishProcessing(); };
|
||||
Ctx.addDiagConsumer(*pConsumer);
|
||||
Ctx.setCommonVersion(std::min(LeftModule->getJsonFormatVersion(),
|
||||
|
||||
Reference in New Issue
Block a user