================
@@ -0,0 +1,44 @@
+// RUN: %check_clang_tidy -std=c++98-or-later %s readability-trivial-switch %t
+
+void bad(int I) {
+  switch (I) {
+    // CHECK-MESSAGES: [[@LINE-1]]:3: warning: switch statement without labels 
has no effect [readability-trivial-switch]
----------------
zeyi2 wrote:

```suggestion
    // CHECK-MESSAGES: [[@LINE-1]]:3: warning: switch statement without labels 
has no effect
```

Same as other places :)

https://github.com/llvm/llvm-project/pull/198237
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to