Quuxplusone added a comment.

Peanut gallery says: It seems to me that your root problem here is that 
`co_yield` is not being recognized by the parser as a keyword, and so you're 
seeing e.g. `co_yield* p;` the same way you'd see `CoYield* p;`.
But in that case, you should also be seeing `co_yield -1;` formatted as 
`co_yield - 1;` the same way you'd see `CoYield - 1;`.
Is it possible that you're not using the right (C++20) language mode? (OTOH, 
see D69144 <https://reviews.llvm.org/D69144>, D69180 
<https://reviews.llvm.org/D69180>, which //also// didn't concern themselves 
with language modes. I don't understand why not.)

Could you please re-upload the diff with context (i.e. `git show -U999`)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91245/new/

https://reviews.llvm.org/D91245

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to