Lines Matching refs:Line
84 void WriteLineInfo(StringRef Filename, int Line,
115 void InclusionRewriter::WriteLineInfo(StringRef Filename, int Line, in WriteLineInfo() argument
121 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo()
127 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo()
264 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
285 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
323 unsigned &NextToWrite, int &Line) { in CommentOutDirective() argument
325 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
339 LocalEOL, Line, true); in CommentOutDirective()
384 int Line = 1; // The current input file line number. in Process() local
404 Line); in Process()
406 WriteLineInfo(FileName, Line - 1, FileType, ""); in Process()
430 WriteLineInfo(FileName, Line, FileType, LineInfoExtra); in Process()
439 NextToWrite, Line); in Process()
442 WriteLineInfo(FileName, Line, FileType); in Process()
447 NextToWrite, Line); in Process()
448 WriteLineInfo(FileName, Line, FileType); in Process()
459 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
476 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
482 WriteLineInfo(FileName, Line, FileType); in Process()
499 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
500 WriteLineInfo(FileName, Line, FileType); in Process()
514 Line, /*EnsureNewline=*/true); in Process()