Lines Matching refs:LocalEOL
266 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
279 if (LocalEOL.size() == 2 && in OutputContentUpTo()
280 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo()
281 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo()
287 if (MainEOL == LocalEOL) { in OutputContentUpTo()
290 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
291 if (EnsureNewline && !TextToWrite.endswith(LocalEOL)) in OutputContentUpTo()
298 std::tie(LineText, Rest) = Rest.split(LocalEOL); in OutputContentUpTo()
304 if (TextToWrite.endswith(LocalEOL) || EnsureNewline) in OutputContentUpTo()
318 StringRef LocalEOL, in CommentOutDirective() argument
321 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
335 LocalEOL, Line, true); in CommentOutDirective()
436 StringRef LocalEOL = DetectEOL(FromFile); in Process() local
470 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, NextToWrite, in Process()
505 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
513 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
554 LocalEOL, Line, false); in Process()
559 LocalEOL, Line, false); in Process()
567 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
586 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
600 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()