From 5d84a67ce04e1bca5902e64f286399f48077aeff Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Wed, 21 Aug 2019 04:05:34 +0000 Subject: Fix 'fall through' annotation llvm-svn: 369490 --- llvm/lib/Support/regcomp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Support') 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; -- cgit v1.2.3