curdeius planned changes to this revision.
curdeius added a comment.

In D119648#3317212 <https://reviews.llvm.org/D119648#3317212>, @owenpan wrote:

> Does any C++ standard support init statements in `while` loops?

Argh, I initially thought about `if` statements and then somehow my brain 
turned it into `while`.
You're right, there are only `if` and `for` statements with initializers (C++20 
added initializers for ranged-base for loops).

Let me split this revision (fixing `if` and not `while`) and clear things up.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119648

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

Reply via email to