Home
last modified time | relevance | path

Searched refs:LocalEOL (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp279 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
335 LocalEOL, Line, true); in CommentOutDirective()
[all …]