Searched defs:TokPtr (Results 1 - 3 of 3) sorted by relevance
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 62 const char *TokPtr = Buffer; local 63 unsigned length = PP.getSpelling(Tok, TokPtr); 64 return IsStringPrefix(StringRef(TokPtr, length), LangOpts.CPlusPlus11); 138 const char *TokPtr = Buffer; local 139 PP.getSpelling(Tok, TokPtr); 140 return TokPtr[0];
|
H A D | Lexer.cpp | 708 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); local 711 if (Invalid || (CharNo == 0 && Lexer::isObviouslySimpleCharacter(*TokPtr))) 719 while (Lexer::isObviouslySimpleCharacter(*TokPtr)) { 722 ++TokPtr, --CharNo, ++PhysOffset; 729 Lexer::getCharAndSizeNoWarn(TokPtr, Size, LangOpts); 730 TokPtr += Size; 738 if (!Lexer::isObviouslySimpleCharacter(*TokPtr)) 739 PhysOffset += Lexer::SkipEscapedNewLines(TokPtr)-TokPtr;
|
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 654 const char *TokPtr = Buffer; local 655 unsigned Len = PP.getSpelling(Tok, TokPtr); 656 OS.write(TokPtr, Len); 661 Callbacks->HandleNewlinesInToken(TokPtr, Len);
|
Completed in 343 milliseconds