Skip to content

Commit

Permalink
brave-missing-break-in-switch.yaml: pattern-not NOTREACHED_NORETURN
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Sep 13, 2023
1 parent 8d5f6c4 commit 4526b70
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ rules:
switch ($VAR) { case $VAL1: ... ABSL_FALLTHROUGH_INTENDED; case $VAL2: ... }
- pattern-not: |
switch ($VAR) { case $VAL1: ABSL_FALLTHROUGH_INTENDED; case $VAL2: ... }
# NOTREACHED_NORETURN
- pattern-not: |
switch ($VAR) { case $VAL1: NOTREACHED_NORETURN(); case $VAL2: ... }
- pattern-not: |
switch ($VAR) { case $VAL1: ... NOTREACHED_NORETURN(); case $VAL2: ... }

0 comments on commit 4526b70

Please sign in to comment.