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

/external/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp243 StringRef LocalEOL, int &Line,
256 if (LocalEOL.size() == 2 &&
257 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] &&
258 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0])
264 if (MainEOL == LocalEOL) {
267 Line += TextToWrite.count(LocalEOL);
268 if (EnsureNewline && !TextToWrite.endswith(LocalEOL))
275 std::tie(LineText, Rest) = Rest.split(LocalEOL);
281 if (TextToWrite.endswith(LocalEOL) || EnsureNewline)
295 StringRef LocalEOL,
241 OutputContentUpTo(const MemoryBuffer &FromFile, unsigned &WriteFrom, unsigned WriteTo, StringRef LocalEOL, int &Line, bool EnsureNewline) argument
292 CommentOutDirective(Lexer &DirectiveLex, const Token &StartToken, const MemoryBuffer &FromFile, StringRef LocalEOL, unsigned &NextToWrite, int &Line) argument
413 StringRef LocalEOL = DetectEOL(FromFile); local
[all...]

Completed in 71 milliseconds