diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-01-23 16:30:56 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-01-23 16:30:56 +0000 |
commit | c29f83b79e748e36f9af06adde8953e9c009b35c (patch) | |
tree | 88e5b6599504831ef9029b75e5f12db9087e702d /clang/unittests/Format/FormatTestJava.cpp | |
parent | e76f2171f98a9efd88c36dbd05a86984a17dec1b (diff) | |
download | llvm-c29f83b79e748e36f9af06adde8953e9c009b35c.zip llvm-c29f83b79e748e36f9af06adde8953e9c009b35c.tar.gz llvm-c29f83b79e748e36f9af06adde8953e9c009b35c.tar.bz2 |
clang-format: Support formatting Java 8 interface default methods.
llvm-svn: 323218
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestJava.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestJava.cpp b/clang/unittests/Format/FormatTestJava.cpp index 2f376f7..1d471b7 100644 --- a/clang/unittests/Format/FormatTestJava.cpp +++ b/clang/unittests/Format/FormatTestJava.cpp @@ -144,6 +144,7 @@ TEST_F(FormatTestJava, ClassDeclarations) { verifyFormat("public interface SomeInterface {\n" " void doStuff(int theStuff);\n" " void doMoreStuff(int moreStuff);\n" + " default void doStuffWithDefault() {}\n" "}"); verifyFormat("@interface SomeInterface {\n" " void doStuff(int theStuff);\n" |