diff options
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; } |