commit | 9d22bcc53e70a597ccdfc2c4c1a2276a5bbeee00 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Mon Jan 19 10:51:05 2015 +0000 |
committer | Daniel Jasper <djasper@google.com> | Mon Jan 19 10:51:05 2015 +0000 |
tree | 83b705838eb30f128272c8c0a3cb481cde49c7ff | |
parent | 2bd7a64d127785d9ee4b5644f92f0d1eabf603e0 [diff] [blame] |
clang-format: Fix assertion when trying to build a nullptr StringRef. llvm-svn: 226448
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 5f8fba26e..7987e58 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp
@@ -2600,6 +2600,7 @@ " y)), // expected-warning", getLLVMStyleWithColumns(28)); verifyFormat("#d, = };"); + verifyFormat("#if \"a"); } TEST_F(FormatTest, MacrosWithoutTrailingSemicolon) {