From: Nico Weber Date: Wed, 24 Jan 2018 01:47:22 +0000 (+0000) Subject: Attempt to fix implicit-fallthrough warning after r323218. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=903b385001790aadf3c1d2024a5b63267379a65a;p=clang Attempt to fix implicit-fallthrough warning after r323218. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323294 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index e41af026df..1057fabb77 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/lib/Format/UnwrappedLineParser.cpp @@ -344,6 +344,7 @@ void UnwrappedLineParser::parseLevel(bool HasOpeningBrace) { break; } // Else, if it is 'default:', fall through to the case handling. + LLVM_FALLTHROUGH; } case tok::kw_case: if (Style.Language == FormatStyle::LK_JavaScript &&