Searched refs:CurTok (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h41 SmallVector<AsmToken, 1> CurTok; member in class:llvm::MCAsmLexer
74 assert(!CurTok.empty());
76 IsAtStartOfStatement = CurTok.front().getKind() == AsmToken::EndOfStatement;
77 CurTok.erase(CurTok.begin());
79 // the first one. Place returned value at head of CurTok vector.
80 if (CurTok.empty()) {
82 CurTok.insert(CurTok.begin(), T);
84 return CurTok
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp48 unsigned &CurTok, bool ReturnComment) {
49 assert(CurTok < RawTokens.size() && "Overran eof!");
52 if (!ReturnComment && RawTokens[CurTok].is(tok::comment))
53 ++CurTok;
55 return RawTokens[CurTok++];
47 GetNextRawTok(const std::vector<Token> &RawTokens, unsigned &CurTok, bool ReturnComment) argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp255 const Token &CurTok = Tokens[I]; local
262 if (I != 0 && !Tokens[I-1].is(tok::hashhash) && CurTok.hasLeadingSpace())
265 if (VCtx.isVAOptToken(CurTok)) {
271 VCtx.sawVAOptFollowedByOpeningParens(CurTok.getLocation(),
369 if (CurTok.isOneOf(tok::hash, tok::hashat)) {
377 CurTok.is(tok::hashat));
382 getExpansionLocForMacroDefLoc(CurTok.getLocation());
386 bool Charify = CurTok.is(tok::hashat);
416 IdentifierInfo *II = CurTok.getIdentifierInfo();
420 ResultToks.push_back(CurTok);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmLexer.cpp18 CurTok.emplace_back(AsmToken::Space, StringRef());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp443 AsmToken::TokenKind CurTok = Parser.getLexer().getKind(); local
444 if (CurTok == AsmToken::Minus ||
448 assert(CurTok == AsmToken::Plus);
453 if (CurTok == AsmToken::Minus || CurTok == AsmToken::Plus)

Completed in 143 milliseconds