diff options
author | Daniel Jasper <djasper@google.com> | 2013-09-13 09:20:45 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-09-13 09:20:45 +0000 |
commit | 5798120bc015360951d13a06e17501b909ecd21d (patch) | |
tree | 786c1c726f9463a359c15e3fdf3498d76847d92d /lib/Format/UnwrappedLineParser.h | |
parent | cab7dad9eb1d986874a8224b6167f413aec55b14 (diff) |
clang-format: Fix incorrect enum parsing / layouting.
Before:
enum {
Bar = Foo < int,
int > ::value
};
After:
enum {
Bar = Foo<int, int>::value
};
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.h')
-rw-r--r-- | lib/Format/UnwrappedLineParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/UnwrappedLineParser.h b/lib/Format/UnwrappedLineParser.h index c79c35e1b9..3acdbd60a5 100644 --- a/lib/Format/UnwrappedLineParser.h +++ b/lib/Format/UnwrappedLineParser.h @@ -79,7 +79,7 @@ private: void parsePPUnknown(); void parseStructuralElement(); bool tryToParseBracedList(); - void parseBracedList(); + bool parseBracedList(bool ContinueOnSemicolons = false); void parseReturn(); void parseParens(); void parseIfThenElse(); |