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.cpp301 while (Tok && State.Stack.back().VariablePos >= Tok->ColumnWidth) { in addTokenOnCurrentLine()
302 State.Stack.back().VariablePos -= Tok->ColumnWidth; in addTokenOnCurrentLine()
322 State.Column + Spaces + Current.ColumnWidth) in addTokenOnCurrentLine()
328 State.Stack.back().ColonPos = State.Column + Spaces + Current.ColumnWidth; in addTokenOnCurrentLine()
468 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()
469 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()
625 NextNonComment->ColumnWidth; in getNewLineColumn()
629 if (State.Stack.back().ColonPos > NextNonComment->ColumnWidth) in getNewLineColumn()
630 return State.Stack.back().ColonPos - NextNonComment->ColumnWidth; in getNewLineColumn()
718 State.Column + Current.ColumnWidth + 1; in moveStateToNextToken()
[all …]
DFormat.cpp847 First[0]->ColumnWidth += 1; in tryMergeLessLess()
871 First[0]->ColumnWidth += AddLength; in tryMergeTokens()
964 RegexToken->ColumnWidth = RegexToken->TokenText.size(); in tryParseJSRegexLiteral()
989 EndBacktick->OriginalColumn + EndBacktick->ColumnWidth; in tryMergeTemplateString()
1005 EndColumnInFirstLine = I[0]->OriginalColumn + I[0]->ColumnWidth; in tryMergeTemplateString()
1009 EndColumnInFirstLine = I[1]->OriginalColumn + I[1]->ColumnWidth; in tryMergeTemplateString()
1042 Tokens.back()->ColumnWidth = in tryMergeTemplateString()
1049 Tokens.back()->ColumnWidth = in tryMergeTemplateString()
1082 String->ColumnWidth = encoding::columnWidthWithTabs( in tryMerge_TMacro()
1169 FormatTok->ColumnWidth = 1; in getStashedToken()
[all …]
DFormatToken.cpp91 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
142 return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth; in CodePointsBetween()
DFormatToken.h138 unsigned ColumnWidth = 0; member
DTokenAnnotator.cpp462 if (Tok->Previous->ColumnWidth > in consumeToken()
464 Contexts.back().LongestObjCSelectorName = Tok->Previous->ColumnWidth; in consumeToken()
1596 Line.First->IsMultiline ? Style.ColumnLimit : Line.First->ColumnWidth; in calculateFormattingInformation()
1658 Current->TotalLength = Prev->TotalLength + Current->ColumnWidth + in calculateFormattingInformation()
1692 Current->ColumnWidth + Current->SpacesRequiredBefore; in calculateUnbreakableTailLengths()