[PATCH] D119648: [clang-format] Fix PointerAlignment within lambdas in a multi-variable declaration statement.
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 12 13:39:20 PST 2022
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
More information about the cfe-commits
mailing list