Home
last modified time | relevance | path

Searched refs:ColumnWidth (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Support/
DUnicode.cpp344 unsigned ColumnWidth = 0; in columnWidthUTF8() local
359 ColumnWidth += Width; in columnWidthUTF8()
361 return ColumnWidth; in columnWidthUTF8()
/external/clang/lib/Format/
DContinuationIndenter.cpp286 while (Tok && State.Stack.back().VariablePos >= Tok->ColumnWidth) { in addTokenOnCurrentLine()
287 State.Stack.back().VariablePos -= Tok->ColumnWidth; in addTokenOnCurrentLine()
307 State.Column + Spaces + Current.ColumnWidth) in addTokenOnCurrentLine()
313 State.Stack.back().ColonPos = State.Column + Spaces + Current.ColumnWidth; in addTokenOnCurrentLine()
425 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()
426 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()
573 NextNonComment->ColumnWidth; in getNewLineColumn()
577 if (State.Stack.back().ColonPos > NextNonComment->ColumnWidth) in getNewLineColumn()
578 return State.Stack.back().ColonPos - NextNonComment->ColumnWidth; in getNewLineColumn()
692 State.Column += Current.ColumnWidth; in moveStateToNextToken()
[all …]
DFormat.cpp685 First[0]->ColumnWidth += 1; in tryMergeLessLess()
709 First[0]->ColumnWidth += AddLength; in tryMergeTokens()
721 ++Previous->ColumnWidth; in tryMergeEscapeSequence()
726 Column = Previous->OriginalColumn + Previous->ColumnWidth; in tryMergeEscapeSequence()
767 Tokens.back()->ColumnWidth += LastColumn - I[0]->OriginalColumn; in tryMergeJSRegexLiteral()
812 EndColumnInFirstLine = I[0]->OriginalColumn + I[0]->ColumnWidth; in tryMergeTemplateString()
816 EndColumnInFirstLine = I[1]->OriginalColumn + I[1]->ColumnWidth; in tryMergeTemplateString()
839 Tokens.back()->ColumnWidth = in tryMergeTemplateString()
845 Tokens.back()->ColumnWidth = in tryMergeTemplateString()
878 String->ColumnWidth = encoding::columnWidthWithTabs( in tryMerge_TMacro()
[all …]
DFormatToken.cpp76 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
127 return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth; in CodePointsBetween()
DFormatToken.h110 ColumnWidth(0), LastLineColumnWidth(0), IsMultiline(false), in FormatToken()
147 unsigned ColumnWidth; member
DTokenAnnotator.cpp436 if (Tok->Previous->ColumnWidth > in consumeToken()
438 Contexts.back().LongestObjCSelectorName = Tok->Previous->ColumnWidth; in consumeToken()
1406 Line.First->IsMultiline ? Style.ColumnLimit : Line.First->ColumnWidth; in calculateFormattingInformation()
1471 Current->TotalLength = Prev->TotalLength + Current->ColumnWidth + in calculateFormattingInformation()
1505 Current->ColumnWidth + Current->SpacesRequiredBefore; in calculateUnbreakableTailLengths()