Lines Matching defs:LineNo
167 bool MoveToLine(unsigned LineNo);
173 void WriteLineInfo(unsigned LineNo, const char *Extra=0, unsigned ExtraLen=0);
185 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo,
192 OS << "#line" << ' ' << LineNo << ' ' << '"';
196 OS << '#' << ' ' << LineNo << ' ' << '"';
215 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) {
218 if (LineNo-CurLine <= 8) {
219 if (LineNo-CurLine == 1)
221 else if (LineNo == CurLine)
225 OS.write(NewLines, LineNo-CurLine);
229 WriteLineInfo(LineNo, 0, 0);
236 CurLine = LineNo;