Skip to content

Commit 9982957

Browse files
authored
[Clang][Webassembly] Remove unrachable code in ParseTypeQualifierListOpt (#153729)
Static analysis flagged this goto as unreachable and indeed it is, so removing it.
1 parent 6960bf5 commit 9982957

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Parse/ParseDecl.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6224,7 +6224,6 @@ void Parser::ParseTypeQualifierListOpt(
62246224
case tok::kw___funcref:
62256225
ParseWebAssemblyFuncrefTypeAttribute(DS.getAttributes());
62266226
continue;
6227-
goto DoneWithTypeQuals;
62286227

62296228
case tok::kw___pascal:
62306229
if (AttrReqs & AR_VendorAttributesParsed) {

0 commit comments

Comments
 (0)