cor3ntin wrote: By the time we are in Sema, the ranges should be correct. I think the issue is somewhere in `Parser::ParseLambdaIntroducer`. It does seem quite confused https://gcc.godbolt.org/z/h7rfEGnMb
In particular, can you check whether `SourceLocation LocEnd = PrevTokLocation;` behave correctly? 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