HomeSort by relevance Sort by last modified time
    Searched refs:Penalty (Results 1 - 3 of 3) sorted by null

  /external/clang/lib/Format/
ContinuationIndenter.cpp 248 unsigned Penalty = 0;
250 Penalty = addTokenOnNewLine(State, DryRun);
254 return moveStateToNextToken(State, DryRun, Newline) + Penalty;
349 // Extra penalty that needs to be added because of the way certain line
351 unsigned Penalty = 0;
357 // The first line break on any NestingLevel causes an extra penalty in order
360 Penalty += 15;
363 Penalty += State.NextToken->SplitPenalty;
366 // short. Also always add the penalty if the LHS is split over mutliple lines
367 // to avoid unnecessary line breaks that just work around this penalty
    [all...]
FormatToken.cpp 80 // bin-packed. Add a severe penalty to this so that column layouts are
86 unsigned Penalty = 0;
107 // Place token using the continuation indenter and store the penalty.
108 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);
110 return Penalty;
Format.cpp 801 // Try to look up already computed penalty in DryRun-mode.
809 unsigned Penalty = 0;
    [all...]

Completed in 93 milliseconds