[PATCH] D153699: [clang] Fix pretty-printing for variables declared in a for-loop condition
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 24 10:51:15 PDT 2023
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Thanks! `Node->getConditionVariableDeclStmt()` is how `StmtPrinter::VisitWhileStmt` prints the declaration in the condition.
https://reviews.llvm.org/D102502 added `PCH/for-loop-init-ternary-operator-statement.cpp`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153699/new/
https://reviews.llvm.org/D153699
More information about the cfe-commits
mailing list