Searched refs:Penalty (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/contrib/llvm/tools/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 | 302 unsigned Penalty = 0; local 304 Penalty = addTokenOnNewLine(State, DryRun); 308 return moveStateToNextToken(State, DryRun, Newline) + Penalty; 434 unsigned Penalty = 0; local 443 Penalty += 15; 446 Penalty += State.NextToken->SplitPenalty; 455 Penalty += Style.PenaltyBreakFirstLessLess; 572 return Penalty; 781 unsigned Penalty = breakProtrudingToken(Current, State, DryRun); local 784 Penalty 1129 unsigned Penalty = 0; local [all...] |
Completed in 58 milliseconds