You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm that the issue occurs. From some early debugging, it looks like markFallthroughVisited() is never being called, likely because we're not peeking through attributed statements somewhere when comparing against case and label statements.
Extended Description
See the following complete example:
This should compile (and does on every other compiler), but doesn't on Clang. Clang (tested 13.0.0) produces:
Removing either
[[likely]]
or[[fallthrough]];
is sufficient to cause the compile to succeed.The text was updated successfully, but these errors were encountered: