diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-09 21:42:32 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-09 21:42:32 +0000 |
commit | 049c44767370b7257d17a5c32d407f19efa01c6f (patch) | |
tree | d248dca00f6e5d92d810f83cee5a33203e768917 /lib/Format/UnwrappedLineParser.cpp | |
parent | 1abe6ea5b8961a0fc14c2e0bdbd7451f643ca065 (diff) |
Formatter: Make parseObjCUntilAtEnd() actually work.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
-rw-r--r-- | lib/Format/UnwrappedLineParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index 688937c1e6..1d0cb30af8 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/lib/Format/UnwrappedLineParser.cpp @@ -212,6 +212,8 @@ void UnwrappedLineParser::parseStructuralElement() { return parseObjCInterface(); case tok::objc_protocol: return parseObjCProtocol(); + case tok::objc_end: + return; // Handled by the caller. default: break; } |