diff options
author | Daniel Jasper <djasper@google.com> | 2015-05-19 11:22:29 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-05-19 11:22:29 +0000 |
commit | fa3f8fbed863de501e4c2d86e353755ad68f0b99 (patch) | |
tree | 0119372878fcaca71891ab892486f77fbdc1cc9e /clang/unittests/Format/FormatTest.cpp | |
parent | 38252615728bf661bf446c3135968e929ff19f5c (diff) | |
download | bcm5719-llvm-fa3f8fbed863de501e4c2d86e353755ad68f0b99.tar.gz bcm5719-llvm-fa3f8fbed863de501e4c2d86e353755ad68f0b99.zip |
clang-format: Support #include_next
Before:
#include_next < test.h >
After:
#include_next <test.h>
This fixes llvm.org/PR23500
llvm-svn: 237686
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-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 9c3448ad83b..d035043b0fe 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -5987,6 +5987,7 @@ TEST_F(FormatTest, HandlesIncludeDirectives) { "#include \"string.h\"\n" "#include <a-a>\n" "#include < path with space >\n" + "#include_next <test.h>" "#include \"abc.h\" // this is included for ABC\n" "#include \"some long include\" // with a comment\n" "#include \"some very long include paaaaaaaaaaaaaaaaaaaaaaath\"", |