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 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
289 if (MainEOL == LocalEOL) { in OutputContentUpTo()
296 size_t Idx = Rest.find(LocalEOL); in OutputContentUpTo()
303 Idx += LocalEOL.size(); in OutputContentUpTo()
310 if (EnsureNewline && !TextToWrite.ends_with(LocalEOL)) in OutputContentUpTo()
335 StringRef LocalEOL, in CommentOutDirective() argument
339 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
361 LocalEOL, Line, true); in CommentOutDirective()
392 StringRef LocalEOL = FromFile.getBuffer().detectEOL(); in Process() local
428 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
450 << " expanded by -frewrite-includes */" << LocalEOL; in Process()
467 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
475 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
488 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
505 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
528 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
542 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()