Lines Matching refs:TokStart

51   TokStart = nullptr;  in TGLexer()
63 return SMLoc::getFromPointer(TokStart); in getLoc()
97 TokStart = CurPtr; in processEOF()
143 TokStart = CurPtr; in LexToken()
154 return ReturnError(TokStart, "Unexpected character"); in LexToken()
197 return ReturnError(TokStart, "Invalid '..' punctuation"); in LexToken()
221 return ReturnError(TokStart, "Unexpected character"); in LexToken()
325 return ReturnError(TokStart, "Invalid variable name"); in LexVarName()
339 const char *IdentStart = TokStart; in LexIdentifier()
442 PrintError(TokStart, "Unterminated comment!"); in SkipCComment()
500 NumStart = TokStart; in LexNumber()
509 return ReturnError(TokStart, "Invalid number"); in LexNumber()
518 return ReturnError(TokStart, "Invalid number"); in LexNumber()
520 return ReturnError(TokStart, "Number out of range"); in LexNumber()
699 TokStart = CurPtr; in prepEatPreprocessorDirective()
725 return ReturnError(TokStart, "Expected macro name after " + IfTokName); in lexPreprocessor()
737 {tgtok::Ifdef, MacroIsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
765 return ReturnError(TokStart, "#else without #ifdef or #ifndef"); in lexPreprocessor()
770 PrintError(TokStart, "double #else"); in lexPreprocessor()
778 {Kind, !IfdefEntry.IsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
798 return ReturnError(TokStart, "#endif without #ifdef"); in lexPreprocessor()
824 return ReturnError(TokStart, "Expected macro name after #define"); in lexPreprocessor()
914 TokStart = CurPtr; in prepLexMacroName()
923 return StringRef(TokStart, CurPtr - TokStart); in prepLexMacroName()
948 TokStart = CurPtr; in prepSkipLineBegin()
1010 TokStart = CurPtr; in prepSkipDirectiveEnd()
1015 TokStart = CurPtr; in prepSkipDirectiveEnd()
1026 TokStart = CurPtr; in prepSkipDirectiveEnd()
1054 TokStart = CurPtr; in prepReportPreprocessorStackError()