erichkeane wrote:

> Hi @erichkeane, thank you for the feedback! I understand that the lexing 
> logic should be moved to the parser. Could you please point me toward 
> specific areas in the parser where this logic should be integrated? A bit 
> more detail would help me ensure this is implemented correctly. Thank you!

@cor3ntin is the parser owner can help identify a spot, but likely while we are 
parsing the lambda capture section directly.  If you debug it, you should be 
able to see where we consume that token.  Generally source locations should be 
created right about the same moment we consume the token.

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

Reply via email to