Commit 8093d37e authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

Fix switch covers all cases static analyzer warning. NFCI.

parent 6a74641e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3160,6 +3160,7 @@ bool TokenAnnotator::mustBreakBefore(const AnnotatedLine &Line,
        return (Left.NestingLevel == 0 && Line.Level == 0) &&
               !Left.Children.empty();
      }
      llvm_unreachable("Unknown FormatStyle::ShortLambdaStyle enum");
    }

    if (Right.is(tok::r_brace) && Left.is(tok::l_brace) &&