================
@@ -255,6 +255,30 @@ int fallthrough_covered_enums(Enum e) {
 
 // Fallthrough annotations in local classes used to generate "fallthrough
 // annotation does not directly precede switch label" warning.
+
+int fallthrough_attributed_labels(int n) {
----------------
Adinesh-Reddy wrote:

I've added tests for [[clang::fallthrough]] and for an ordinary label followed 
by an attributed case label. I also split the test cases into separate functions

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

Reply via email to