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

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 08:12:46 PST 2024


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

If this diagnostic is not already well tested, adding all of these additional unit tests makes sense.

But it looks like there's quite a number of existing tests in other files.  I don't think we should add a new file just to check this diagnostics behavior via `-Wextra` via a whole new file.

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


More information about the cfe-commits mailing list