Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DBreakableToken.cpp138 return StartColumn + Prefix.size() + Postfix.size() + in getLineLengthAfterSplit()
140 StartColumn + Prefix.size(), in getLineLengthAfterSplit()
145 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, in BreakableSingleLineToken() argument
149 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix) { in BreakableSingleLineToken()
156 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, in BreakableStringLiteral() argument
159 : BreakableSingleLineToken(Tok, IndentLevel, StartColumn, Prefix, Postfix, in BreakableStringLiteral()
166 StartColumn + Prefix.size() + Postfix.size(), in getSplit()
173 unsigned LeadingSpaces = StartColumn; in insertBreak()
201 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, in BreakableLineComment() argument
203 : BreakableSingleLineToken(Token, IndentLevel, StartColumn, in BreakableLineComment()
[all …]
DBreakableToken.h99 unsigned StartColumn, StringRef Prefix,
105 unsigned StartColumn; variable
121 unsigned StartColumn, StringRef Prefix,
140 unsigned StartColumn, bool InPPDirective,
166 unsigned StartColumn, unsigned OriginaStartColumn,
DEncoding.h80 inline unsigned columnWidthWithTabs(StringRef Text, unsigned StartColumn, in columnWidthWithTabs() argument
89 TotalWidth += TabWidth - (TotalWidth + StartColumn) % TabWidth; in columnWidthWithTabs()
DContinuationIndenter.cpp258 unsigned StartColumn = in addTokenToState() local
260 assert(EndColumn >= StartColumn); in addTokenToState()
261 State.Column += EndColumn - StartColumn; in addTokenToState()
931 unsigned StartColumn = State.Column - Current.ColumnWidth; in breakProtrudingToken() local
973 Current, State.Line->Level, StartColumn, Prefix, Postfix, in breakProtrudingToken()
982 Current, State.Line->Level, StartColumn, Current.OriginalColumn, in breakProtrudingToken()
990 StartColumn, /*InPPDirective=*/false, in breakProtrudingToken()
1068 State.Stack.back().LastSpace = StartColumn; in breakProtrudingToken()
/external/clang/unittests/ASTMatchers/Dynamic/
DParserTest.cpp106 unsigned EndLine, unsigned StartColumn, unsigned EndColumn) { in matchesRange() argument
109 EXPECT_EQ(StartColumn, Range.Start.Column); in matchesRange()
112 Range.Start.Column == StartColumn && Range.End.Column == EndColumn; in matchesRange()
/external/clang/tools/libclang/
DCIndexDiagnostic.cpp284 unsigned StartLine, StartColumn, EndLine, EndColumn; in clang_formatDiagnostic() local
286 &StartFile, &StartLine, &StartColumn, in clang_formatDiagnostic()
294 Out << "{" << StartLine << ":" << StartColumn << "-" in clang_formatDiagnostic()