JonasToth added a comment.

> Rather than add a warning for the labels, I would just add a note for the 
> label when diagnosing the goto (since the goto has a single target).

That might lead to existing labels without any gotos for them, does it? Maybe 
the check could also diagnose labels without corresponding gotos, or does the 
frontend already have something like this?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D41815



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to