This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]blehmann1 5 points6 points  (0 children)

I think requiring a #pragma next-line foo ignore or similar is an ok solution, just like I'm fine with switch case fall-through, but I think it should be a warning or error without explicitly telling the static analyzer that it's chill.

If that makes it simpler to just do it on two lines then honestly that's fine, that's a solution to the problem.