Lines Matching full:indent
119 // Don't create a 'hanging' indent if there are multiple blocks in a single
321 else if (State.Stack.back().Indent + Current.LongestObjCSelectorName >
325 State.Stack.back().Indent) +
343 State.Stack.back().Indent = State.Column + Spaces;
369 // parameter, i.e. let nested calls have a continuation indent.
382 // Always indent relative to the RHS of the expression unless this is a
383 // simple assignment without binary expression on the RHS. Also indent
387 State.Stack.back().Indent = State.Column;
390 // If a function has a trailing call, indent all parameters from the
438 // Indent nested blocks relative to this column, unless in a very specific
462 ? std::max(State.Stack.back().Indent,
464 : State.Stack.back().Indent) +
484 std::max(State.Stack.back().LastSpace, State.Stack.back().Indent) +
559 // If we are continuing an expression, we want to use the continuation indent.
561 std::max(State.Stack.back().LastSpace, State.Stack.back().Indent) +
572 State.Stack.back().Indent + Style.ContinuationIndentWidth);
576 : State.Stack.back().Indent;
587 return State.Stack.back().Indent;
615 return std::max(State.Stack.back().LastSpace, State.Stack.back().Indent);
619 return State.Stack.back().Indent;
621 ? std::max(State.Stack.back().Indent,
623 : State.Stack.back().Indent) +
628 return State.Stack.back().Indent;
631 return State.Stack.back().Indent;
643 return State.Stack.back().Indent;
654 return State.Stack.back().Indent;
658 if (State.Stack.back().Indent == State.FirstIndent && PreviousNonComment &&
660 // Ensure that we fall back to the continuation indent width instead of
662 return State.Stack.back().Indent + Style.ContinuationIndentWidth;
663 return State.Stack.back().Indent;
699 State.Stack.back().Indent =
704 // Indent 2 from the column, so:
709 State.Stack.back().Indent =
711 State.Stack.back().NestedBlockIndent = State.Stack.back().Indent;
800 // Indent from 'LastSpace' unless these are fake parentheses encapsulating
809 NewParenState.Indent =
810 std::max(std::max(State.Column, NewParenState.Indent),
831 // Do not indent relative to the fake parentheses inserted for "." or "->".
842 // Always indent conditional expressions. Never indent expression where
844 // prec::Assignment) as those have different indentation rules. Indent
849 NewParenState.Indent += Style.ContinuationIndentWidth;
914 NewIndent = std::max(NewIndent, State.Stack.back().Indent);
915 LastSpace = std::max(LastSpace, State.Stack.back().Indent);