diff options
| author | Daniel Jasper <djasper@google.com> | 2016-05-19 06:19:17 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2016-05-19 06:19:17 +0000 |
| commit | e2fab133133c4c652ca27b791805b158b9d0a20a (patch) | |
| tree | 3ce5c99b9ee07f6a994e43322135f2b9ddbb9fb1 /clang/unittests/Format | |
| parent | 19e04b643065ae6c68547a2114c9bf5151a10b14 (diff) | |
| download | bcm5719-llvm-e2fab133133c4c652ca27b791805b158b9d0a20a.tar.gz bcm5719-llvm-e2fab133133c4c652ca27b791805b158b9d0a20a.zip | |
clang-format: Fix enumerator case ranges.
Before:
case a... b: break;
After:
case a ... b: break;
llvm-svn: 270027
Diffstat (limited to 'clang/unittests/Format')
| -rw-r--r-- | clang/unittests/Format/FormatTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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" "}"); } |

