[PATCH] clang-format: [Java] Support Java enums.

Daniel Jasper djasper at google.com
Thu Nov 13 07:58:09 PST 2014


Fixed and submitted as r221895.

================
Comment at: lib/Format/UnwrappedLineParser.cpp:1410
@@ +1409,3 @@
+      ++Line->Level;
+      parseLevel(/*HasOpeningBrace=*/true);
+      nextToken();
----------------
klimek wrote:
> Any reason we don't want to call into parseBlock here?
Nope. Fixed.

http://reviews.llvm.org/D6250






More information about the cfe-commits mailing list