Skip to content

Commit 0488a41

Browse files
authored
Merge pull request #84297 from rjmansfield/use-platform-unknown
Update getBaseMachOPlatformID to use llvm::MachO::PLATFORM_UNKNOWN.
2 parents b6291e6 + 756bea9 commit 0488a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/IRGenFunction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ static unsigned getBaseMachOPlatformID(const llvm::Triple &TT) {
299299
case llvm::Triple::XROS:
300300
return llvm::MachO::PLATFORM_XROS;
301301
default:
302-
return /*Unknown platform*/ 0;
302+
return llvm::MachO::PLATFORM_UNKNOWN;
303303
}
304304
}
305305

0 commit comments

Comments
 (0)