diff options
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r-- | lib/Format/Format.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index e5e59f4550..fbcb228fbe 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -315,7 +315,7 @@ private: WhitespaceStartColumn); } - State.LastSpace[ParenLevel] = State.Indent[ParenLevel]; + State.LastSpace[ParenLevel] = State.Column; if (Current.is(tok::colon) && CurrentLineType != LT_ObjCMethodDecl && State.NextToken->Type != TT_ConditionalExpr) State.Indent[ParenLevel] += 2; |