Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.cpp359 static_cast<int>(CurrentChange.Tok->SpacesRequiredBefore)); in AlignTokenSequence()
461 static_cast<int>(Changes[i].Tok->SpacesRequiredBefore) || in AlignTokenSequence()
742 unsigned SpacesRequiredBefore = 1; in alignConsecutiveMacros() local
744 if (Current->SpacesRequiredBefore == 0 || !Current->Previous) in alignConsecutiveMacros()
753 SpacesRequiredBefore = 0; in alignConsecutiveMacros()
766 return Current->Next->SpacesRequiredBefore == SpacesRequiredBefore; in alignConsecutiveMacros()
H A DUnwrappedLineFormatter.cpp403 I[i + 1]->First->SpacesRequiredBefore = in tryFitMultipleLinesInOne()
825 Tok->SpacesRequiredBefore = in tryMergeSimpleBlock()
937 unsigned LengthA = A.Last->TotalLength + B.First->SpacesRequiredBefore; in join()
972 Tok->SpacesRequiredBefore = 0; in markFinalized()
H A DTokenAnnotator.cpp1625 Tok->SpacesRequiredBefore = 1; in consumeToken()
1892 CurrentToken->SpacesRequiredBefore = 1; in parsePreprocessorDirective()
1923 CurrentToken->SpacesRequiredBefore = true; in parsePreprocessorDirective()
3685 First->SpacesRequiredBefore = 1; in annotate()
3977 Current->SpacesRequiredBefore = in calculateFormattingInformation()
3982 Current->SpacesRequiredBefore = 0; in calculateFormattingInformation()
3984 Current->SpacesRequiredBefore = Style.SpacesBeforeTrailingComments; in calculateFormattingInformation()
4008 } else if (!Current->Finalized && Current->SpacesRequiredBefore == 0 && in calculateFormattingInformation()
4010 Current->SpacesRequiredBefore = 1; in calculateFormattingInformation()
4040 ChildSize + Current->SpacesRequiredBefore; in calculateFormattingInformation()
[all …]
H A DContinuationIndenter.cpp691 if (Prev->is(TT_BlockComment) && Current.SpacesRequiredBefore == 0) in addTokenOnCurrentLine()
730 if (Tok->SpacesRequiredBefore != 0) in addTokenOnCurrentLine()
738 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; in addTokenOnCurrentLine()
1467 Current.SpacesRequiredBefore; in getNewLineColumn()
1472 NextNonComment->SpacesRequiredBefore; in getNewLineColumn()
H A DFormatToken.h489 unsigned SpacesRequiredBefore = 0; member