[llvm] 25c7c23 - [llvm][MC] silence xros platform warnings, NFC
Cyndy Ishida via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 16:32:42 PST 2024
Author: Cyndy Ishida
Date: 2024-01-16T16:32:34-08:00
New Revision: 25c7c231149813692db1dbfc348d2df87ecc5307
URL: https://github.com/llvm/llvm-project/commit/25c7c231149813692db1dbfc348d2df87ecc5307
DIFF: https://github.com/llvm/llvm-project/commit/25c7c231149813692db1dbfc348d2df87ecc5307.diff
LOG: [llvm][MC] silence xros platform warnings, NFC
Added:
Modified:
llvm/lib/MC/MCParser/DarwinAsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/MC/MCParser/DarwinAsmParser.cpp b/llvm/lib/MC/MCParser/DarwinAsmParser.cpp
index edea5a56bec3d3f..5055b3a073b44c0 100644
--- a/llvm/lib/MC/MCParser/DarwinAsmParser.cpp
+++ b/llvm/lib/MC/MCParser/DarwinAsmParser.cpp
@@ -1154,6 +1154,8 @@ static Triple::OSType getOSTypeFromPlatform(MachO::PlatformType Type) {
case MachO::PLATFORM_IOSSIMULATOR: /* silence warning */ break;
case MachO::PLATFORM_TVOSSIMULATOR: /* silence warning */ break;
case MachO::PLATFORM_WATCHOSSIMULATOR: /* silence warning */ break;
+ case MachO::PLATFORM_XROS: /* silence warning */ break;
+ case MachO::PLATFORM_XROS_SIMULATOR: /* silence warning */ break;
}
llvm_unreachable("Invalid mach-o platform type");
}
More information about the llvm-commits
mailing list