• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/

Lines Matching refs:TokStart

51   TokStart = nullptr;
65 return SMLoc::getFromPointer(TokStart);
92 // Make sure TokStart points into the parent file's buffer.
95 TokStart = CurPtr;
138 TokStart = CurPtr;
149 return ReturnError(TokStart, "Unexpected character");
205 return ReturnError(TokStart, "Unexpected character");
309 return ReturnError(TokStart, "Invalid variable name");
323 const char *IdentStart = TokStart;
425 PrintError(TokStart, "Unterminated comment!");
459 return ReturnError(TokStart, "Invalid hexadecimal number");
464 return ReturnError(TokStart, "Invalid hexadecimal number");
469 return ReturnError(TokStart, "Invalid hexadecimal number");
471 return ReturnError(TokStart, "Hexadecimal number out of range");
498 CurIntVal = strtoll(TokStart, nullptr, 10);
657 TokStart = CurPtr;
683 return ReturnError(TokStart, "Expected macro name after " + IfTokName);
696 {Kind, MacroIsDefined, SMLoc::getFromPointer(TokStart)});
724 return ReturnError(TokStart, "#else without #ifdef or #ifndef");
729 PrintError(TokStart, "double #else");
737 {Kind, !IfdefEntry.IsDefined, SMLoc::getFromPointer(TokStart)});
757 return ReturnError(TokStart, "#endif without #ifdef");
783 return ReturnError(TokStart, "Expected macro name after #define");
872 TokStart = CurPtr;
881 return StringRef(TokStart, CurPtr - TokStart);
904 // Set TokStart to the beginning of the comment to enable proper
906 TokStart = CurPtr;
966 // Set TokStart to the beginning of the comment to enable proper
968 TokStart = CurPtr;
973 TokStart = CurPtr;
984 TokStart = CurPtr;
1019 TokStart = CurPtr;