[clang-tools-extra] [clang-tidy] fix fasle negatives in readability-redundant-casting when cast function pointer (PR #170502)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 3 11:34:04 PST 2025


================
@@ -9,6 +9,7 @@
 #include "RedundantCastingCheck.h"
 #include "../utils/FixItHintUtils.h"
 #include "clang/AST/ASTContext.h"
+#include "clang/AST/TypeBase.h"
----------------
vbvictor wrote:

Is this needed?

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


More information about the cfe-commits mailing list