================
@@ -181,6 +181,14 @@ void FactsGenerator::VisitCXXConstructExpr(const
CXXConstructExpr *CCE) {
handleGSLPointerConstruction(CCE);
return;
}
+ if (const auto *RD = CCE->getType()->getAsCXXRecordDecl();
+ RD && RD->isLambda() && CCE->getNumArgs() == 1) {
+ const Expr *Arg = CCE->getArg(0);
----------------
Xazax-hun wrote:
What case are we covering here? Is this when lambda's copy/move operations are
called? I think it would be worth to call this out and maybe making the
checking a bit more strict.
https://github.com/llvm/llvm-project/pull/185216
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits