Fznamznon wrote:

@cor3ntin , @shafik WDYT about

> I have a concern, that probably in case when this is actually captured, with 
> current implementation of the patch there will be no warning as well.

Should we still emit shadowing warning in case lambda captured this and has an 
init-capture with the same name as a class field?

https://github.com/llvm/llvm-project/pull/74512
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to