Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
refs/heads/master
/
.
/
docs
/
bugpattern
/
UnnecessaryBreakInSwitch.md
blob: dcf29f6d3061f932e107982e4570ae7a9407822c [
file
] [
view
] [
edit
]
The
newer arrow
(
`->`
)
syntax
for
switches does
not
permit fallthrough between
cases
.
A
`break`
statement
is
allowed to
break
out
of the
switch
,
but including
a
`break`
as
the
last
statement
in
a
case
body
is
unnecessary
.