erichkeane wrote:

> I think it looks good but I'd like @erichkeane's input.
> 
> I also wonder whether we should look at the instantiated parent to determine 
> whether the lambda is dependent, instead of just looking at the 
> non-instantiated parent.
> 
> Might fix a few bugs and it's an approach i never considered before

Yeah, unfortunately this falls very quickly into the 'we need to implement 
deferred instantiation of lambda bodies' here.  I'd definitely like to see an 
exploration of that idea, but if that doesn't work out for good reason/with a 
bit of effort, I think this is probably a 'good enough for now'.

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

Reply via email to