diff options
author | Daniel Jasper <djasper@google.com> | 2014-11-13 15:56:28 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2014-11-13 15:56:28 +0000 |
commit | ffc8655a156b1f621379495c581004c33ee212b4 (patch) | |
tree | 6e3d42a8831b1d7f1fb5b7c492c34b63ffdea607 /lib/Format/UnwrappedLineParser.h | |
parent | 97fba2d728dbf5c148492c018be1a2f933ff71de (diff) |
clang-format: [Java] Support Java enums.
In Java, enums can contain a class body and enum constants can have
arguments as well as class bodies. Support most of that.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.h')
-rw-r--r-- | lib/Format/UnwrappedLineParser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Format/UnwrappedLineParser.h b/lib/Format/UnwrappedLineParser.h index f047540cf5..3218afecad 100644 --- a/lib/Format/UnwrappedLineParser.h +++ b/lib/Format/UnwrappedLineParser.h @@ -97,6 +97,7 @@ private: void parseNamespace(); void parseAccessSpecifier(); void parseEnum(); + void parseJavaEnumBody(); void parseRecord(); void parseObjCProtocolList(); void parseObjCUntilAtEnd(); |