Home
last modified time | relevance | path

Searched refs:TailOffset (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Format/
DBreakableToken.h57 virtual Split getSplit(unsigned LineIndex, unsigned TailOffset,
61 virtual void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
66 virtual void replaceWhitespace(unsigned LineIndex, unsigned TailOffset,
94 unsigned getLineLengthAfterSplit(unsigned LineIndex, unsigned TailOffset,
125 Split getSplit(unsigned LineIndex, unsigned TailOffset,
127 void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
129 void replaceWhitespace(unsigned LineIndex, unsigned TailOffset, Split Split, in replaceWhitespace() argument
143 Split getSplit(unsigned LineIndex, unsigned TailOffset,
145 void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
147 void replaceWhitespace(unsigned LineIndex, unsigned TailOffset, Split Split,
[all …]
DBreakableToken.cpp163 BreakableStringLiteral::getSplit(unsigned LineIndex, unsigned TailOffset, in getSplit() argument
165 return getStringSplit(Line.substr(TailOffset), in getSplit()
171 unsigned TailOffset, Split Split, in insertBreak() argument
181 Tok, Prefix.size() + TailOffset + Split.first, Split.second, Postfix, in insertBreak()
217 BreakableLineComment::getSplit(unsigned LineIndex, unsigned TailOffset, in getSplit() argument
219 return getCommentSplit(Line.substr(TailOffset), StartColumn + Prefix.size(), in getSplit()
223 void BreakableLineComment::insertBreak(unsigned LineIndex, unsigned TailOffset, in insertBreak() argument
227 Tok, OriginalPrefix.size() + TailOffset + Split.first, Split.second, in insertBreak()
232 unsigned TailOffset, Split Split, in replaceWhitespace() argument
235 Tok, OriginalPrefix.size() + TailOffset + Split.first, Split.second, "", in replaceWhitespace()
[all …]
DContinuationIndenter.cpp1023 unsigned TailOffset = 0; in breakProtrudingToken() local
1025 Token->getLineLengthAfterSplit(LineIndex, TailOffset, StringRef::npos); in breakProtrudingToken()
1028 Token->getSplit(LineIndex, TailOffset, ColumnLimit); in breakProtrudingToken()
1038 LineIndex, TailOffset + Split.first + Split.second, StringRef::npos); in breakProtrudingToken()
1044 Token->replaceWhitespace(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken()
1056 Token->insertBreak(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken()
1059 Token->getLineLengthAfterSplit(LineIndex, TailOffset, Split.first); in breakProtrudingToken()
1063 TailOffset += Split.first + Split.second; in breakProtrudingToken()