diff options
-rw-r--r-- | compilerplugins/clang/redundantfcast.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/redundantfcast.cxx b/compilerplugins/clang/redundantfcast.cxx index dc41ea63ded1..758aa6b611da 100644 --- a/compilerplugins/clang/redundantfcast.cxx +++ b/compilerplugins/clang/redundantfcast.cxx @@ -237,7 +237,7 @@ public: auto cxxConstruct = dyn_cast<CXXConstructExpr>(compat::IgnoreImplicit(expr->getSubExpr())); if (!cxxConstruct) return false; - auto const lambda = dyn_cast<LambdaExpr>(cxxConstruct->getArg(0)); + auto const lambda = dyn_cast<LambdaExpr>(cxxConstruct->getArg(0)->IgnoreImplicit()); if (!lambda) return false; if (deduced) |