https://github.com/AaronBallman created https://github.com/llvm/llvm-project/pull/182855
Silences an MSVC C4065 diagnostic that was introduced in 0dd1cb015e8b1439e70c152eb134abb01e1af831 >From 4a1af7890a0a5e0e12edcc55f24dd28b99ca9ad9 Mon Sep 17 00:00:00 2001 From: Aaron Ballman <[email protected]> Date: Mon, 23 Feb 2026 09:23:30 -0500 Subject: [PATCH] Silence "switch statement contains default but not case labels"; NFC Silences an MSVC C4065 diagnostic --- clang/lib/CodeGen/TargetBuiltins/ARM.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/clang/lib/CodeGen/TargetBuiltins/ARM.cpp b/clang/lib/CodeGen/TargetBuiltins/ARM.cpp index e6801f77232ad..a04f5e32c18ad 100644 --- a/clang/lib/CodeGen/TargetBuiltins/ARM.cpp +++ b/clang/lib/CodeGen/TargetBuiltins/ARM.cpp @@ -2732,10 +2732,6 @@ static bool HasExtraNeonArgument(unsigned BuiltinID) { case ARM::BI__builtin_arm_vcvtr_d: mask = 1; } - switch (BuiltinID) { - default: - break; - } if (mask) return true; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
