Skip to content

Commit 25c7c23

Browse files
committed
[llvm][MC] silence xros platform warnings, NFC
1 parent 7d3466b commit 25c7c23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/MC/MCParser/DarwinAsmParser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,8 @@ static Triple::OSType getOSTypeFromPlatform(MachO::PlatformType Type) {
11541154
case MachO::PLATFORM_IOSSIMULATOR: /* silence warning */ break;
11551155
case MachO::PLATFORM_TVOSSIMULATOR: /* silence warning */ break;
11561156
case MachO::PLATFORM_WATCHOSSIMULATOR: /* silence warning */ break;
1157+
case MachO::PLATFORM_XROS: /* silence warning */ break;
1158+
case MachO::PLATFORM_XROS_SIMULATOR: /* silence warning */ break;
11571159
}
11581160
llvm_unreachable("Invalid mach-o platform type");
11591161
}

0 commit comments

Comments
 (0)