]> granicus.if.org Git - llvm/commitdiff
Fix 'fall through' annotation
authorVitaly Buka <vitalybuka@google.com>
Wed, 21 Aug 2019 04:05:34 +0000 (04:05 +0000)
committerVitaly Buka <vitalybuka@google.com>
Wed, 21 Aug 2019 04:05:34 +0000 (04:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369490 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/regcomp.c

index 12669ab75d1af81183288c474b1b4730be9ed4fe..ca283869be988dc88584d98ca61029a435c3aa5b 100644 (file)
@@ -537,7 +537,7 @@ p_ere_exp(struct parse *p)
                break;
        case '{':               /* okay as ordinary except if digit follows */
                REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
-               /* FALLTHROUGH */
+               /* fall through */
        default:
                ordinary(p, c);
                break;
@@ -733,7 +733,7 @@ p_simp_re(struct parse *p,
                break;
        case '*':
                REQUIRE(starordinary, REG_BADRPT);
-               /* FALLTHROUGH */
+               /* fall through */
        default:
                ordinary(p, (char)c);
                break;
@@ -1635,7 +1635,7 @@ findmust(struct parse *p, struct re_guts *g)
                                        return;
                                }
                        } while (OP(s) != O_QUEST && OP(s) != O_CH);
-                       /* fallthrough */
+                       /* fall through */
                default:                /* things that break a sequence */
                        if (newlen > g->mlen) {         /* ends one */
                                start = newstart;