Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp264 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
277 if (LocalEOL.size() == 2 && in OutputContentUpTo()
278 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo()
279 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo()
285 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
287 if (MainEOL == LocalEOL) { in OutputContentUpTo()
294 size_t Idx = Rest.find(LocalEOL); in OutputContentUpTo()
301 Idx += LocalEOL.size(); in OutputContentUpTo()
308 if (EnsureNewline && !TextToWrite.endswith(LocalEOL)) in OutputContentUpTo()
322 StringRef LocalEOL, in CommentOutDirective() argument
[all …]