#32579: Use clang's -Wimplicit-fallthrough and fallthrough attribute on case
statements
------------------------------+------------------------------
Reporter: teor | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: code-correctness
Actual Points: | Parent ID:
Points: 1 | Reviewer:
Sponsor: |
------------------------------+------------------------------
We can avoid accidental fallthroughs using clang's -Wimplicit-fallthrough.
https://clang.llvm.org/docs/AttributeReference.html#fallthrough
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32579>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs