Home
last modified time | relevance | path

Searched refs:SpacesRequiredBefore (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp275 I[i + 1]->First->SpacesRequiredBefore = !I[i]->Last->is(tok::r_brace); in tryFitMultipleLinesInOne()
541 Tok->SpacesRequiredBefore = 0; in tryMergeSimpleBlock()
647 unsigned LengthA = A.Last->TotalLength + B.First->SpacesRequiredBefore; in join()
H A DTokenAnnotator.cpp995 CurrentToken->SpacesRequiredBefore = 1; in parsePreprocessorDirective()
1965 Line.First->SpacesRequiredBefore = 1; in annotate()
2091 Current->SpacesRequiredBefore = Style.Cpp11BracedListStyle ? 0 : 1; in calculateFormattingInformation()
2093 Current->SpacesRequiredBefore = Style.SpacesBeforeTrailingComments; in calculateFormattingInformation()
2115 } else if (Current->SpacesRequiredBefore == 0 && in calculateFormattingInformation()
2117 Current->SpacesRequiredBefore = 1; in calculateFormattingInformation()
2143 ChildSize + Current->SpacesRequiredBefore; in calculateFormattingInformation()
2197 Current->ColumnWidth + Current->SpacesRequiredBefore; in calculateUnbreakableTailLengths()
3361 << " S=" << Tok->SpacesRequiredBefore in printDebugInfo()
H A DFormatToken.h183 unsigned SpacesRequiredBefore = 0; member
H A DContinuationIndenter.cpp553 if (Tok->SpacesRequiredBefore != 0) in addTokenOnCurrentLine()
561 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; in addTokenOnCurrentLine()