diff options
author | Vitaly Buka <vitalybuka@google.com> | 2019-08-21 04:05:34 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2019-08-21 04:05:34 +0000 |
commit | 5d84a67ce04e1bca5902e64f286399f48077aeff (patch) | |
tree | eba26caa96c798cd566a67ca4c61033b26a548e4 /llvm/lib/Support/regcomp.c | |
parent | d840a9cbed68b3b0ea1c92e6c233d3024591f403 (diff) | |
download | bcm5719-llvm-5d84a67ce04e1bca5902e64f286399f48077aeff.tar.gz bcm5719-llvm-5d84a67ce04e1bca5902e64f286399f48077aeff.zip |
Fix 'fall through' annotation
llvm-svn: 369490
Diffstat (limited to 'llvm/lib/Support/regcomp.c')
-rw-r--r-- | llvm/lib/Support/regcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/regcomp.c b/llvm/lib/Support/regcomp.c index 12669ab75d1..ca283869be9 100644 --- a/llvm/lib/Support/regcomp.c +++ b/llvm/lib/Support/regcomp.c @@ -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; |