Searched refs:Penalty (Results 1 - 3 of 3) sorted by relevance
/external/clang/lib/Format/ |
H A D | UnwrappedLineFormatter.cpp | 493 /// \p Penalty as well as \p State. If \p DryRun is false, also directly 510 unsigned &Penalty) { 523 Penalty += 557 Penalty += formatLine(*Previous.Children[0], State.Column + 1, DryRun); 591 unsigned Penalty = 0; variable 592 formatChildren(State, Newline, /*DryRun=*/false, Penalty); 610 unsigned Penalty = 0; variable 613 formatChildren(State, /*Newline=*/false, DryRun, Penalty); 616 return Penalty; 698 unsigned Penalty local 509 formatChildren(LineState &State, bool NewLine, bool DryRun, unsigned &Penalty) argument 747 addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, bool NewLine, unsigned *Count, QueueType *Queue) argument 776 unsigned Penalty = 0; local 810 unsigned Penalty = 0; local [all...] |
H A D | FormatToken.cpp | 102 unsigned Penalty = 0; local 124 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); 126 return Penalty;
|
H A D | ContinuationIndenter.cpp | 282 unsigned Penalty = 0; local 284 Penalty = addTokenOnNewLine(State, DryRun); 288 return moveStateToNextToken(State, DryRun, Newline) + Penalty; 413 unsigned Penalty = 0; local 422 Penalty += 15; 425 Penalty += State.NextToken->SplitPenalty; 434 Penalty += Style.PenaltyBreakFirstLessLess; 551 return Penalty; 760 unsigned Penalty = breakProtrudingToken(Current, State, DryRun); local 763 Penalty 1104 unsigned Penalty = 0; local [all...] |
Completed in 67 milliseconds