[clang] [clang-tools-extra] [Clang] [C2y] Implement N3355 ‘NamedLoops’ (PR #152870)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 22 04:05:36 PDT 2025
================
@@ -679,11 +685,17 @@ static void DiagnoseLabelFollowedByDecl(Parser &P, const Stmt *SubStmt) {
}
}
-StmtResult Parser::ParseLabeledStatement(ParsedAttributes &Attrs,
- ParsedStmtContext StmtCtx) {
+StmtResult
+Parser::ParseLabeledStatement(ParsedAttributes &Attrs,
+ ParsedStmtContext StmtCtx,
+ SmallVectorImpl<LabelDecl *> *LoopOrSwitchNames) {
assert(Tok.is(tok::identifier) && Tok.getIdentifierInfo() &&
"Not an identifier!");
+ SmallVector<LabelDecl *, 1> LoopOrSwitchNamesStorage;
----------------
Sirraide wrote:
This logic now no longer exists.
https://github.com/llvm/llvm-project/pull/152870
More information about the cfe-commits
mailing list