diff options
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
| -rw-r--r-- | lib/Format/UnwrappedLineParser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index b7de63fd0f..6930bd22bc 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/lib/Format/UnwrappedLineParser.cpp @@ -784,7 +784,10 @@ bool UnwrappedLineParser::tryToParseLambda() { case tok::identifier: case tok::coloncolon: case tok::kw_mutable: + nextToken(); + break; case tok::arrow: + FormatTok->Type = TT_TrailingReturnArrow; nextToken(); break; default: |
