[clang] c64dac2 - [clang] Fix noisy -Wcovered-switch-default warning after 1f70fcefa9 / #100278

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 6 06:18:26 PDT 2024


Author: Nico Weber
Date: 2024-09-06T09:17:45-04:00
New Revision: c64dac2e6c39f0f7f1c676857e7d34c764b4d632

URL: https://github.com/llvm/llvm-project/commit/c64dac2e6c39f0f7f1c676857e7d34c764b4d632
DIFF: https://github.com/llvm/llvm-project/commit/c64dac2e6c39f0f7f1c676857e7d34c764b4d632.diff

LOG: [clang] Fix noisy -Wcovered-switch-default warning after 1f70fcefa9 / #100278

Added: 
    

Modified: 
    clang/include/clang/Basic/TargetBuiltins.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/TargetBuiltins.h b/clang/include/clang/Basic/TargetBuiltins.h
index 02b4a4b39bbf43..124e353a5c1c47 100644
--- a/clang/include/clang/Basic/TargetBuiltins.h
+++ b/clang/include/clang/Basic/TargetBuiltins.h
@@ -235,8 +235,6 @@ namespace clang {
         return 64;
       case Poly128:
         return 128;
-      default:
-        llvm_unreachable("Invalid NeonTypeFlag!");
       }
     }
   };


        


More information about the cfe-commits mailing list