• Home
  • Raw
  • Download

Lines Matching refs:TokStart

51   TokStart = nullptr;  in TGLexer()
65 return SMLoc::getFromPointer(TokStart); in getLoc()
95 TokStart = CurPtr; in processEOF()
138 TokStart = CurPtr; in LexToken()
149 return ReturnError(TokStart, "Unexpected character"); in LexToken()
192 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()
445 PrintError(TokStart, "Unterminated comment!"); in SkipCComment()
479 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
484 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
489 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber()
491 return ReturnError(TokStart, "Hexadecimal number out of range"); in LexNumber()
518 CurIntVal = strtoll(TokStart, nullptr, 10); in LexNumber()
682 TokStart = CurPtr; in prepEatPreprocessorDirective()
708 return ReturnError(TokStart, "Expected macro name after " + IfTokName); in lexPreprocessor()
721 {Kind, MacroIsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
749 return ReturnError(TokStart, "#else without #ifdef or #ifndef"); in lexPreprocessor()
754 PrintError(TokStart, "double #else"); in lexPreprocessor()
762 {Kind, !IfdefEntry.IsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
782 return ReturnError(TokStart, "#endif without #ifdef"); in lexPreprocessor()
808 return ReturnError(TokStart, "Expected macro name after #define"); in lexPreprocessor()
897 TokStart = CurPtr; in prepLexMacroName()
906 return StringRef(TokStart, CurPtr - TokStart); in prepLexMacroName()
931 TokStart = CurPtr; in prepSkipLineBegin()
993 TokStart = CurPtr; in prepSkipDirectiveEnd()
998 TokStart = CurPtr; in prepSkipDirectiveEnd()
1009 TokStart = CurPtr; in prepSkipDirectiveEnd()
1044 TokStart = CurPtr; in prepReportPreprocessorStackError()