Searched refs:TokPtr (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 62 const char *TokPtr = Buffer; in IsIdentifierStringPrefix() local 63 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix() 64 return IsStringPrefix(StringRef(TokPtr, length), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 138 const char *TokPtr = Buffer; in GetFirstChar() local 139 PP.getSpelling(Tok, TokPtr); in GetFirstChar() 140 return TokPtr[0]; in GetFirstChar()
|
D | Lexer.cpp | 708 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in AdvanceToTokenCharacter() local 711 if (Invalid || (CharNo == 0 && Lexer::isObviouslySimpleCharacter(*TokPtr))) in AdvanceToTokenCharacter() 719 while (Lexer::isObviouslySimpleCharacter(*TokPtr)) { in AdvanceToTokenCharacter() 722 ++TokPtr; in AdvanceToTokenCharacter() 731 Lexer::getCharAndSizeNoWarn(TokPtr, Size, LangOpts); in AdvanceToTokenCharacter() 732 TokPtr += Size; in AdvanceToTokenCharacter() 740 if (!Lexer::isObviouslySimpleCharacter(*TokPtr)) in AdvanceToTokenCharacter() 741 PhysOffset += Lexer::SkipEscapedNewLines(TokPtr)-TokPtr; in AdvanceToTokenCharacter()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 675 const char *TokPtr = Buffer; in PrintPreprocessedTokens() local 676 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens() 677 OS.write(TokPtr, Len); in PrintPreprocessedTokens() 682 Callbacks->HandleNewlinesInToken(TokPtr, Len); in PrintPreprocessedTokens()
|
D | TextDiagnostic.cpp | 1109 const char *TokPtr = BufStart+FileOffset; in emitSnippetAndCaret() local 1110 const char *LineStart = TokPtr-ColNo+1; // Column # is 1-based. in emitSnippetAndCaret() 1114 const char *LineEnd = TokPtr; in emitSnippetAndCaret()
|