Skip to content

Commit 55e6a57

Browse files
authored
Merge pull request swiftlang#31179 from nkcsgexi/62111064-2
ABI-checker: specify default baseline file names for non-Darwin platforms
2 parents 081171c + 7f8b5f7 commit 55e6a57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/swift-api-digester/swift-api-digester.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,6 +2700,10 @@ static StringRef getBaselineFilename(llvm::Triple Triple) {
27002700
return "appletvos.json";
27012701
else if (Triple.isWatchOS())
27022702
return "watchos.json";
2703+
else if (Triple.isOSLinux())
2704+
return "linux.json";
2705+
else if (Triple.isOSWindows())
2706+
return "windows.json";
27032707
else {
27042708
llvm::errs() << "Unsupported triple target\n";
27052709
exit(1);

0 commit comments

Comments
 (0)