llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Shafik Yaghmour (shafik) <details> <summary>Changes</summary> Static analysis flagged this goto as unreachable and indeed it is, so removing it. --- Full diff: https://github.com/llvm/llvm-project/pull/153729.diff 1 Files Affected: - (modified) clang/lib/Parse/ParseDecl.cpp (-1) ``````````diff diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index fd53cca5a13ff..96f1a53922d1f 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -6224,7 +6224,6 @@ void Parser::ParseTypeQualifierListOpt( case tok::kw___funcref: ParseWebAssemblyFuncrefTypeAttribute(DS.getAttributes()); continue; - goto DoneWithTypeQuals; case tok::kw___pascal: if (AttrReqs & AR_VendorAttributesParsed) { `````````` </details> https://github.com/llvm/llvm-project/pull/153729 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits