]> granicus.if.org Git - clang/commitdiff
Attempt to fix implicit-fallthrough warning after r323218.
authorNico Weber <nicolasweber@gmx.de>
Wed, 24 Jan 2018 01:47:22 +0000 (01:47 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 24 Jan 2018 01:47:22 +0000 (01:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323294 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/UnwrappedLineParser.cpp

index e41af026dfcd0d908a6d625e0e170da072493993..1057fabb77c4936c5c25fe98df0ea8690548766a 100644 (file)
@@ -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 &&