Home
last modified time | relevance | path

Searched refs:Penalty (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Format/
DContinuationIndenter.cpp248 unsigned Penalty = 0; in addTokenToState() local
250 Penalty = addTokenOnNewLine(State, DryRun); in addTokenToState()
254 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState()
351 unsigned Penalty = 0; in addTokenOnNewLine() local
360 Penalty += 15; in addTokenOnNewLine()
363 Penalty += State.NextToken->SplitPenalty; in addTokenOnNewLine()
372 Penalty += Style.PenaltyBreakFirstLessLess; in addTokenOnNewLine()
469 return Penalty; in addTokenOnNewLine()
658 unsigned Penalty = breakProtrudingToken(Current, State, DryRun); in moveStateToNextToken() local
661 Penalty += Style.PenaltyExcessCharacter * ExcessCharacters; in moveStateToNextToken()
[all …]
DFormatToken.cpp86 unsigned Penalty = 0; in formatAfterToken() local
108 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
110 return Penalty; in formatAfterToken()
DFormat.cpp809 unsigned Penalty = 0; in format() local
883 formatChildren(State, /*Newline=*/false, /*DryRun=*/false, Penalty); in format()
892 Penalty += format(TheLine, Indent, DryRun); in format()
933 PenaltyCache[CacheKey] = Penalty; in format()
934 return Penalty; in format()
1087 unsigned Penalty = 0; in analyzeSolutionSpace() local
1091 Penalty = Queue.top().first.first; in analyzeSolutionSpace()
1094 DEBUG(llvm::dbgs() << "\n---\nPenalty for line: " << Penalty << "\n"); in analyzeSolutionSpace()
1110 addNextStateToQueue(Penalty, Node, /*NewLine=*/false, &Count, &Queue); in analyzeSolutionSpace()
1112 addNextStateToQueue(Penalty, Node, /*NewLine=*/true, &Count, &Queue); in analyzeSolutionSpace()
[all …]
/external/clang/docs/
DClangFormatStyleOptions.rst317 Penalty for putting the return type of a function onto its own
/external/chromium_org/third_party/WebKit/PerformanceTests/Parser/resources/
Dfinal-url-en44950 http://www.gluckman.com/Death'Penalty.htm