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()
365 StringRef LocalEOL = FromFile.getBuffer().detectEOL(); in Process() local
399 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, NextToWrite, in Process()
434 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
442 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
455 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
472 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
495 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
509 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()