Lines Matching refs:TokStart

51   TokStart = nullptr;  in TGLexer()
63 return SMLoc::getFromPointer(TokStart); in getLoc()
93 TokStart = CurPtr; in processEOF()
139 TokStart = CurPtr; in LexToken()
150 return ReturnError(TokStart, "Unexpected character"); in LexToken()
193 return ReturnError(TokStart, "Invalid '..' punctuation"); in LexToken()
217 return ReturnError(TokStart, "Unexpected character"); in LexToken()
321 return ReturnError(TokStart, "Invalid variable name"); in LexVarName()
335 const char *IdentStart = TokStart; in LexIdentifier()
436 PrintError(TokStart, "Unterminated comment!"); in SkipCComment()
470 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
475 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
480 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
482 return ReturnError(TokStart, "Hexadecimal number out of range"); in LexNumber()
509 CurIntVal = strtoll(TokStart, nullptr, 10); in LexNumber()
676 TokStart = CurPtr; in prepEatPreprocessorDirective()
702 return ReturnError(TokStart, "Expected macro name after " + IfTokName); in lexPreprocessor()
715 {Kind, MacroIsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
743 return ReturnError(TokStart, "#else without #ifdef or #ifndef"); in lexPreprocessor()
748 PrintError(TokStart, "double #else"); in lexPreprocessor()
756 {Kind, !IfdefEntry.IsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
776 return ReturnError(TokStart, "#endif without #ifdef"); in lexPreprocessor()
802 return ReturnError(TokStart, "Expected macro name after #define"); in lexPreprocessor()
891 TokStart = CurPtr; in prepLexMacroName()
900 return StringRef(TokStart, CurPtr - TokStart); in prepLexMacroName()
925 TokStart = CurPtr; in prepSkipLineBegin()
987 TokStart = CurPtr; in prepSkipDirectiveEnd()
992 TokStart = CurPtr; in prepSkipDirectiveEnd()
1003 TokStart = CurPtr; in prepSkipDirectiveEnd()
1036 TokStart = CurPtr; in prepReportPreprocessorStackError()