Searched refs:TokPtr (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 29 const char *TokPtr = Buffer; in StartsWithL() local 30 PP.getSpelling(Tok, TokPtr); in StartsWithL() 31 return TokPtr[0] == 'L'; in StartsWithL() 49 const char *TokPtr = Buffer; in IsIdentifierL() local 50 if (PP.getSpelling(Tok, TokPtr) != 1) in IsIdentifierL() 52 return TokPtr[0] == 'L'; in IsIdentifierL() 109 const char *TokPtr = Buffer; in GetFirstChar() local 110 PP.getSpelling(Tok, TokPtr); in GetFirstChar() 111 return TokPtr[0]; in GetFirstChar()
|
D | Lexer.cpp | 628 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in AdvanceToTokenCharacter() local 631 if (Invalid || (CharNo == 0 && Lexer::isObviouslySimpleCharacter(*TokPtr))) in AdvanceToTokenCharacter() 639 while (Lexer::isObviouslySimpleCharacter(*TokPtr)) { in AdvanceToTokenCharacter() 642 ++TokPtr, --CharNo, ++PhysOffset; in AdvanceToTokenCharacter() 649 Lexer::getCharAndSizeNoWarn(TokPtr, Size, Features); in AdvanceToTokenCharacter() 650 TokPtr += Size; in AdvanceToTokenCharacter() 658 if (!Lexer::isObviouslySimpleCharacter(*TokPtr)) in AdvanceToTokenCharacter() 659 PhysOffset += Lexer::SkipEscapedNewLines(TokPtr)-TokPtr; in AdvanceToTokenCharacter()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 519 const char *TokPtr = Buffer; in PrintPreprocessedTokens() local 520 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens() 521 OS.write(TokPtr, Len); in PrintPreprocessedTokens() 526 Callbacks->HandleNewlinesInToken(TokPtr, Len); in PrintPreprocessedTokens()
|
D | TextDiagnosticPrinter.cpp | 447 const char *TokPtr = BufStart+FileOffset; in EmitCaretDiagnostic() local 448 const char *LineStart = TokPtr-ColNo+1; // Column # is 1-based. in EmitCaretDiagnostic() 453 const char *LineEnd = TokPtr; in EmitCaretDiagnostic()
|