Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Lex/
DLexer.cpp497 const char *LexStart = BufStart + Offset; in findBeginningOfLine() local
498 for (; LexStart != BufStart; --LexStart) { in findBeginningOfLine()
499 if (isVerticalWhitespace(LexStart[0]) && in findBeginningOfLine()
500 !Lexer::isNewLineEscaped(BufStart, LexStart)) { in findBeginningOfLine()
502 ++LexStart; in findBeginningOfLine()
506 return LexStart; in findBeginningOfLine()
525 const char *LexStart = findBeginningOfLine(Buffer, LocInfo.second); in getBeginningOfFileToken() local
526 if (!LexStart || LexStart == StrData) in getBeginningOfFileToken()
531 Lexer TheLexer(LexerStartLoc, LangOpts, Buffer.data(), LexStart, in getBeginningOfFileToken()
/external/clang/lib/Lex/
DLexer.cpp472 const char *LexStart = StrData; in getBeginningOfFileToken() local
473 while (LexStart != BufStart) { in getBeginningOfFileToken()
474 if (LexStart[0] == '\n' || LexStart[0] == '\r') { in getBeginningOfFileToken()
475 ++LexStart; in getBeginningOfFileToken()
479 --LexStart; in getBeginningOfFileToken()
484 Lexer TheLexer(LexerStartLoc, LangOpts, BufStart, LexStart, Buffer.end()); in getBeginningOfFileToken()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp14417 const char *LexStart = Buffer.data() + LocInfo.second; in ActOnFinishFunctionBody() local
14418 StringRef StartTok(LexStart, Buffer.size() - LocInfo.second); in ActOnFinishFunctionBody()