================ @@ -0,0 +1,36 @@ +.. title:: clang-tidy - readability-trivial-switch + +readability-trivial-switch +========================== + +Finds trivial ``switch`` statements that can be written more clearly. + +Every ``switch`` statement should have at least two ``case`` labels other than a ``default`` label. ---------------- EugeneZelenko wrote:
Format. https://github.com/llvm/llvm-project/pull/198237 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
