Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp300 if (LocalEOL.size() == 2 && in OutputContentUpTo()
301 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo()
302 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo()
308 if (MainEOL == LocalEOL) { in OutputContentUpTo()
311 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
312 if (EnsureNewline && !TextToWrite.endswith(LocalEOL)) in OutputContentUpTo()
319 std::tie(LineText, Rest) = Rest.split(LocalEOL); in OutputContentUpTo()
325 if (TextToWrite.endswith(LocalEOL) || EnsureNewline) in OutputContentUpTo()
339 StringRef LocalEOL, in CommentOutDirective() argument
356 LocalEOL, Line, true); in CommentOutDirective()
[all …]