[clang] [Clang][Sema] Fix Wswitch-default bad warning in template (PR #76007)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 19 21:03:08 PST 2023


================
@@ -0,0 +1,27 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wswitch-default %s
----------------
shafik wrote:

I think we can add these test to `clang/test/Sema/switch-default.c`

https://github.com/llvm/llvm-project/pull/76007


More information about the cfe-commits mailing list