Lines Matching refs:TokStart
50 TokStart = nullptr; in TGLexer()
64 return SMLoc::getFromPointer(TokStart); in getLoc()
94 TokStart = CurPtr; in processEOF()
137 TokStart = CurPtr; in LexToken()
148 return ReturnError(TokStart, "Unexpected character"); in LexToken()
204 return ReturnError(TokStart, "Unexpected character"); in LexToken()
308 return ReturnError(TokStart, "Invalid variable name"); in LexVarName()
322 const char *IdentStart = TokStart; in LexIdentifier()
428 PrintError(TokStart, "Unterminated comment!"); in SkipCComment()
462 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
467 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
472 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
474 return ReturnError(TokStart, "Hexadecimal number out of range"); in LexNumber()
501 CurIntVal = strtoll(TokStart, nullptr, 10); in LexNumber()
655 TokStart = CurPtr; in prepEatPreprocessorDirective()
680 return ReturnError(TokStart, "Expected macro name after #ifdef"); in lexPreprocessor()
687 {Kind, MacroIsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
715 return ReturnError(TokStart, "#else without #ifdef"); in lexPreprocessor()
720 PrintError(TokStart, "double #else"); in lexPreprocessor()
728 {Kind, !IfdefEntry.IsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
748 return ReturnError(TokStart, "#endif without #ifdef"); in lexPreprocessor()
774 return ReturnError(TokStart, "Expected macro name after #define"); in lexPreprocessor()
863 TokStart = CurPtr; in prepLexMacroName()
872 return StringRef(TokStart, CurPtr - TokStart); in prepLexMacroName()
897 TokStart = CurPtr; in prepSkipLineBegin()
959 TokStart = CurPtr; in prepSkipDirectiveEnd()
964 TokStart = CurPtr; in prepSkipDirectiveEnd()
975 TokStart = CurPtr; in prepSkipDirectiveEnd()
1010 TokStart = CurPtr; in prepReportPreprocessorStackError()