From e2fab133133c4c652ca27b791805b158b9d0a20a Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Thu, 19 May 2016 06:19:17 +0000 Subject: clang-format: Fix enumerator case ranges. Before: case a... b: break; After: case a ... b: break; llvm-svn: 270027 --- clang/unittests/Format/FormatTest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/unittests/Format/FormatTest.cpp') diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 1b434eb8c94..aec801ccc98 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -755,6 +755,7 @@ TEST_F(FormatTest, CaseRanges) { verifyFormat("switch (x) {\n" "case 'A' ... 'Z':\n" "case 1 ... 5:\n" + "case a ... b:\n" " break;\n" "}"); } -- cgit v1.2.3