Searched refs:TokStart (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp48 TokStart = nullptr;
89 StringRef(TokStart, CurPtr - TokStart));
115 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
120 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
133 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
136 return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart));
161 if (CurPtr == TokStart+1 && TokStart[
[all...]
H A DMCAsmLexer.cpp24 return SMLoc::getFromPointer(TokStart);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.cpp51 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, "Unterminate
[all...]
H A DTGLexer.h81 const char *TokStart = nullptr; member in class:llvm::TGLexer
123 return std::make_pair(CurIntVal, (CurPtr - TokStart)-2);
307 // the method updates TokStart to the position of the first non-whitespace
310 // TokStart is set to the first non-whitespace symbol after the preprocessing
313 // In all cases, TokStart may be used to point to the word following
/freebsd-13-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp184 TokStart = CurPtr;
210 StrVal.assign(TokStart, CurPtr-1);
263 if (const char *Ptr = isLabelTail(TokStart)) {
265 StrVal.assign(TokStart, CurPtr - 1);
281 StrVal.assign(TokStart + 2, CurPtr - 1);
344 uint64_t Val = atoull(TokStart + 1, CurPtr);
364 StrVal.assign(TokStart+2, CurPtr-1);
426 StrVal.assign(TokStart+1, CurPtr); // Skip !
957 if ((TokStart[0] == 'u' || TokStart[
[all...]
H A DLLLexer.h36 const char *TokStart; member in class:llvm::LLLexer
57 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); }
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h354 /// first \p Characters characters of the token starting at TokStart.
355 static unsigned getTokenPrefixLength(SourceLocation TokStart,
363 static SourceLocation AdvanceToTokenCharacter(SourceLocation TokStart, argument
367 return TokStart.getLocWithOffset(
368 getTokenPrefixLength(TokStart, Characters, SM, LangOpts));
H A DPreprocessor.h1844 SourceLocation AdvanceToTokenCharacter(SourceLocation TokStart, argument
1846 return Lexer::AdvanceToTokenCharacter(TokStart, Char, SourceMgr, LangOpts);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h48 const char *TokStart = nullptr; member in class:llvm::MCAsmLexer
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp371 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), local
380 return std::string(TokStart, TokStart + Tok.getLength());
384 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin()));
403 const char *TokStart = nullptr; local
406 TokStart = Tok.getRawIdentifier().data();
417 TokStart = Tok.getLiteralData();
419 if (!TokStart) {
422 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid);
433 Buffer = TokStart;
719 getTokenPrefixLength(SourceLocation TokStart, unsigned CharNo, const SourceManager &SM, const LangOptions &LangOpts) argument
1808 const char *TokStart = BufferPtr; local
1961 const char *TokStart = BufferPtr; local
2041 const char *TokStart = BufferPtr; local
2085 const char *TokStart = BufferPtr; local
2183 const char *TokStart = BufferPtr; local
[all...]

Completed in 193 milliseconds