Skip to content

Commit 756bea9

Browse files
committed
Update getBaseMachOPlatformID to use llvm::MachO::PLATFORM_UNKNOWN.
getBaseMachOPlatformID was lifted from clang which has been subsequently updated to use PLATFORM_UNKNOWN.
1 parent 926fc78 commit 756bea9

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)