================
@@ -50,6 +50,13 @@
 #define GOOD33(x)         if (!a__##x) a_##x = &f(#x)
 #define GOOD34(x, y)      if (x) goto y;
 #define GOOD35(x, y)      if (x) goto *(y);
+#if __STDC_VERSION__ >= 201112L
----------------
zeyi2 wrote:

These regression cases are currently skipped: this is a `.cpp` test, so 
`check_clang_tidy.py` runs it in C++ mode and `__STDC_VERSION__` is not defined.

Please either add a C11 `.c` test or otherwise make these definitions active, 
and verify that the test fails as expected without the implementation change.

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

Reply via email to