[clang] [clang] move -Wcast-function-type under -Wextra (PR #77178)

Abhin P Jose via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 18 04:49:27 PST 2024


================
@@ -0,0 +1,42 @@
+// RUN: %clang_cc1 %s -fsyntax-only -Wextra -verify
+
+
+int t(int array[static 12]);
+int u(int i);
+const int v(int i); /* expected-warning {{'const' type qualifier on return type has no effec}} */
----------------
Abhinkop wrote:

Didn't have to do it as the file is now not added.

https://github.com/llvm/llvm-project/pull/77178


More information about the cfe-commits mailing list