Lines Matching refs:LocalEOL
287 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
300 if (LocalEOL.size() == 2 && in OutputContentUpTo()
301 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo()
302 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo()
308 if (MainEOL == LocalEOL) { in OutputContentUpTo()
311 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
312 if (EnsureNewline && !TextToWrite.endswith(LocalEOL)) in OutputContentUpTo()
319 std::tie(LineText, Rest) = Rest.split(LocalEOL); in OutputContentUpTo()
325 if (TextToWrite.endswith(LocalEOL) || EnsureNewline) in OutputContentUpTo()
339 StringRef LocalEOL, in CommentOutDirective() argument
342 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
356 LocalEOL, Line, true); in CommentOutDirective()
387 StringRef LocalEOL = DetectEOL(FromFile); in Process() local
421 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, NextToWrite, in Process()
456 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
464 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
477 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
494 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
517 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
531 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()