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()
441 PrintError(TokStart, "Unterminated comment!"); in SkipCComment()
499 NumStart = TokStart; in LexNumber()
508 return ReturnError(TokStart, "Invalid number"); in LexNumber()
517 return ReturnError(TokStart, "Invalid number"); in LexNumber()
519 return ReturnError(TokStart, "Number out of range"); in LexNumber()
698 TokStart = CurPtr; in prepEatPreprocessorDirective()
724 return ReturnError(TokStart, "Expected macro name after " + IfTokName); in lexPreprocessor()
736 {tgtok::Ifdef, MacroIsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
764 return ReturnError(TokStart, "#else without #ifdef or #ifndef"); in lexPreprocessor()
769 PrintError(TokStart, "double #else"); in lexPreprocessor()
777 {Kind, !IfdefEntry.IsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
797 return ReturnError(TokStart, "#endif without #ifdef"); in lexPreprocessor()
823 return ReturnError(TokStart, "Expected macro name after #define"); in lexPreprocessor()
912 TokStart = CurPtr; in prepLexMacroName()
921 return StringRef(TokStart, CurPtr - TokStart); in prepLexMacroName()
946 TokStart = CurPtr; in prepSkipLineBegin()
1008 TokStart = CurPtr; in prepSkipDirectiveEnd()
1013 TokStart = CurPtr; in prepSkipDirectiveEnd()
1024 TokStart = CurPtr; in prepSkipDirectiveEnd()
1057 TokStart = CurPtr; in prepReportPreprocessorStackError()