Lines Matching refs:Line
87 void WriteLineInfo(StringRef Filename, int Line,
118 void InclusionRewriter::WriteLineInfo(StringRef Filename, int Line, in WriteLineInfo() argument
124 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo()
130 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo()
287 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
311 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
321 Line++; in OutputContentUpTo()
340 unsigned &NextToWrite, int &Line) { in CommentOutDirective() argument
342 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
356 LocalEOL, Line, true); in CommentOutDirective()
402 int Line = 1; // The current input file line number. in Process() local
422 Line); in Process()
424 WriteLineInfo(FileName, Line - 1, FileType, ""); in Process()
448 WriteLineInfo(FileName, Line, FileType, LineInfoExtra); in Process()
457 NextToWrite, Line); in Process()
460 WriteLineInfo(FileName, Line, FileType); in Process()
465 NextToWrite, Line); in Process()
466 WriteLineInfo(FileName, Line, FileType); in Process()
477 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
494 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
500 WriteLineInfo(FileName, Line, FileType); in Process()
517 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
518 WriteLineInfo(FileName, Line, FileType); in Process()
532 Line, /*EnsureNewline=*/true); in Process()