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

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 10:40:41 PST 2024


================
@@ -0,0 +1,42 @@
+// RUN: %clang_cc1 %s -fsyntax-only -Wextra -verify
----------------
nickdesaulniers wrote:

I would just remove the newly created clang/test/Sema/warn-extra-cast-function-type-strict.c.  If you have cases that expose bugs in the implementation, that is distinctly a separate issue from adding this warning under -Wextra.

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


More information about the cfe-commits mailing list