Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DBreakableToken.cpp333 size_t EndOfPreviousLine = Lines[LineIndex - 1].size(); in adjustWhitespace() local
335 --EndOfPreviousLine; in adjustWhitespace()
338 EndOfPreviousLine = in adjustWhitespace()
339 Lines[LineIndex - 1].find_last_not_of(Blanks, EndOfPreviousLine); in adjustWhitespace()
340 if (EndOfPreviousLine == StringRef::npos) in adjustWhitespace()
341 EndOfPreviousLine = 0; in adjustWhitespace()
343 ++EndOfPreviousLine; in adjustWhitespace()
351 Lines[LineIndex - 1] = Lines[LineIndex - 1].substr(0, EndOfPreviousLine); in adjustWhitespace()