Lines Matching refs:LocalEOL
268 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
281 if (LocalEOL.size() == 2 && in OutputContentUpTo()
282 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo()
283 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo()
289 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
291 if (MainEOL == LocalEOL) { in OutputContentUpTo()
298 size_t Idx = Rest.find(LocalEOL); in OutputContentUpTo()
305 Idx += LocalEOL.size(); in OutputContentUpTo()
312 if (EnsureNewline && !TextToWrite.ends_with(LocalEOL)) in OutputContentUpTo()
337 StringRef LocalEOL, in CommentOutDirective() argument
341 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
363 LocalEOL, Line, true); in CommentOutDirective()
394 StringRef LocalEOL = FromFile.getBuffer().detectEOL(); in Process() local
430 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
452 << " expanded by -frewrite-includes */" << LocalEOL; in Process()
469 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
477 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
490 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
507 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
530 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
544 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()