mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ABI/API checker: include SDK version number when generating diagnostic baselines
This commit is contained in:
@@ -395,7 +395,8 @@ SDKNode *SDKNodeRoot::getInstance(SDKContext &Ctx) {
|
||||
SDKNodeInitInfo Info(Ctx);
|
||||
Info.Name = Ctx.buffer("TopLevel");
|
||||
Info.PrintedName = Ctx.buffer("TopLevel");
|
||||
Info.ToolArgs = Ctx.getOpts().ToolArgs;
|
||||
llvm::transform(Ctx.getOpts().ToolArgs, std::back_inserter(Info.ToolArgs),
|
||||
[&](std::string s) { return Ctx.buffer(s); });
|
||||
Info.JsonFormatVer = DIGESTER_JSON_VERSION;
|
||||
return Info.createSDKNode(SDKNodeKind::Root);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user