Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 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
361 LocalEOL, Line, true); in CommentOutDirective()
[all …]