================
@@ -154,6 +154,14 @@ struct ReferencedDecls {
   /// When analyzing a lambda's call operator, the set of all parameters (from
   /// the surrounding function) that the lambda captures. Captured local
   /// variables are already included in `Locals` above.
+  ///
+  /// This set also includes any referenced parameters of functions other than
----------------
ymand wrote:

This wording feels general (and hence is a bit hard to parse). Could you be 
more specific, like

"of the surrounding function that introduces  the lambda whose body is targeted 
for visitation"

? Or, is there actually more general functionality here?

https://github.com/llvm/llvm-project/pull/170311
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to