Lines Matching refs:LineNo
162 bool MoveToLine(unsigned LineNo);
168 void WriteLineInfo(unsigned LineNo, const char *Extra=nullptr,
187 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, in WriteLineInfo() argument
194 OS << "#line" << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
198 OS << '#' << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
217 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) { in MoveToLine() argument
220 if (LineNo-CurLine <= 8) { in MoveToLine()
221 if (LineNo-CurLine == 1) in MoveToLine()
223 else if (LineNo == CurLine) in MoveToLine()
227 OS.write(NewLines, LineNo-CurLine); in MoveToLine()
231 WriteLineInfo(LineNo, nullptr, 0); in MoveToLine()
238 CurLine = LineNo; in MoveToLine()