[PATCH] clang-format: accept generic types in enum declaration
Harry Terkelsen
het at google.com
Wed Nov 19 13:11:19 PST 2014
Hi djasper,
Before
```
enum Foo implements Bar<X, Y> {
ABC {
...
}
, CDE {
...
};
}
```
After
```
enum Foo implements Bar<X, Y> {
ABC {
...
},
CDE {
...
};
}
```
http://reviews.llvm.org/D6325
Files:
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJava.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6325.16395.patch
Type: text/x-patch
Size: 1816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141119/b8a1e2f4/attachment.bin>
More information about the cfe-commits
mailing list