================ @@ -146,6 +146,10 @@ struct ReferencedDecls { /// Free functions and member functions which are referenced (but not /// necessarily called). llvm::DenseSet<const FunctionDecl *> Functions; + /// Parameters of other functions, captured by reference by a lambda. This is + /// empty except when ReferencedDecls are computed for a lambda's call + /// operator. + llvm::DenseSet<const ParmVarDecl *> LambdaCapturedParams; ---------------- ymand wrote:
Why do we particularly care about params, vs other locals? https://github.com/llvm/llvm-project/pull/117771 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits