================
@@ -3352,6 +3354,8 @@ StmtResult Sema::ActOnBreakStmt(SourceLocation BreakLoc, 
Scope *CurScope,
                                 LabelDecl *Target, SourceLocation LabelLoc) {
   Scope *S;
   if (Target) {
+    MarkAnyDeclReferenced(Target->getLocation(), Target,
----------------
Sirraide wrote:

Same here

https://github.com/llvm/llvm-project/pull/166033
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to