Searched refs:Penalty (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Format/ |
D | UnwrappedLineFormatter.cpp | 510 unsigned &Penalty) { in formatChildren() argument 523 Penalty += in formatChildren() 557 Penalty += formatLine(*Previous.Children[0], State.Column + 1, DryRun); in formatChildren() 591 unsigned Penalty = 0; in formatLine() local 592 formatChildren(State, Newline, /*DryRun=*/false, Penalty); in formatLine() 610 unsigned Penalty = 0; in formatLine() local 613 formatChildren(State, /*Newline=*/false, DryRun, Penalty); in formatLine() 616 return Penalty; in formatLine() 698 unsigned Penalty = 0; in analyzeSolutionSpace() local 702 Penalty = Queue.top().first.first; in analyzeSolutionSpace() [all …]
|
D | ContinuationIndenter.cpp | 282 unsigned Penalty = 0; in addTokenToState() local 284 Penalty = addTokenOnNewLine(State, DryRun); in addTokenToState() 288 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState() 413 unsigned Penalty = 0; in addTokenOnNewLine() local 422 Penalty += 15; in addTokenOnNewLine() 425 Penalty += State.NextToken->SplitPenalty; in addTokenOnNewLine() 434 Penalty += Style.PenaltyBreakFirstLessLess; in addTokenOnNewLine() 551 return Penalty; in addTokenOnNewLine() 760 unsigned Penalty = breakProtrudingToken(Current, State, DryRun); in moveStateToNextToken() local 763 Penalty += Style.PenaltyExcessCharacter * ExcessCharacters; in moveStateToNextToken() [all …]
|
D | FormatToken.cpp | 102 unsigned Penalty = 0; in formatAfterToken() local 124 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken() 126 return Penalty; in formatAfterToken()
|
/external/clang/docs/ |
D | ClangFormatStyleOptions.rst | 565 Penalty for putting the return type of a function onto its own
|