================ @@ -129,15 +129,19 @@ void MissingStdForwardCheck::registerMatchers(MatchFinder *Finder) { unless(anyOf(hasAncestor(typeLoc()), hasAncestor(expr(hasUnevaluatedContext()))))); + auto StaticCast = cxxStaticCastExpr( + hasSourceExpression(declRefExpr(to(equalsBoundNode("param"))))); ---------------- legrosbuffle wrote:
Unfortunately at that point the cast is a `CK_Dependent` cast. I don't think we can get any kind type information from those casts, but I might be wrong. https://github.com/llvm/llvm-project/pull/99477 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits