mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 19:44:38 +08:00
clang-format: [Java] Fix more generics formatting.
Before: < T extends B > T getInstance(Class<T> type); After: <T extends B> T getInstance(Class<T> type); llvm-svn: 221124
This commit is contained in:
@@ -143,6 +143,7 @@ TEST_F(FormatTestJava, Generics) {
|
||||
"public Map<String, ?> getAll() {\n}");
|
||||
|
||||
verifyFormat("public static <R> ArrayList<R> get() {\n}");
|
||||
verifyFormat("<T extends B> T getInstance(Class<T> type);");
|
||||
}
|
||||
|
||||
TEST_F(FormatTestJava, StringConcatenation) {
|
||||
|
||||
Reference in New Issue
Block a user