cor3ntin wrote:

> Maybe we should suppress that warning for switch cases? Or suggest adding a 
> default label instead?

I think silencing the warning is better than suggesting a default case, which 
may not be considered good practice.
Maybe we can add a -Wdeprecated-switch-case warning that people can control 
independently of  -Wdeprecated-declarations

https://github.com/llvm/llvm-project/pull/138562
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to