Home
last modified time | relevance | path

Searched refs:TokKind (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGLexer.h32 enum TokKind { enum
89 tgtok::TokKind CurCode = tgtok::TokKind::Eof;
107 tgtok::TokKind Lex() { in Lex()
146 tgtok::TokKind LexIdentifier();
148 tgtok::TokKind LexString();
149 tgtok::TokKind LexVarName();
150 tgtok::TokKind LexNumber();
151 tgtok::TokKind LexBracket();
152 tgtok::TokKind LexExclaim();
187 tgtok::TokKind Kind;
[all …]
H A DTGLexer.cpp36 tgtok::TokKind Kind;
267 tgtok::TokKind TGLexer::LexString() { in LexString()
319 tgtok::TokKind TGLexer::LexVarName() { in LexVarName()
333 tgtok::TokKind TGLexer::LexIdentifier() { in LexIdentifier()
344 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) in LexIdentifier()
390 tgtok::TokKind Tok = LexToken(); in LexInclude()
460 tgtok::TokKind TGLexer::LexNumber() { in LexNumber()
515 tgtok::TokKind TGLexer::LexBracket() { in LexBracket()
538 tgtok::TokKind TGLexer::LexExclaim() { in LexExclaim()
547 tgtok::TokKind Kind = in LexExclaim()
[all …]
H A DTGParser.h220 bool consume(tgtok::TokKind K);
H A DTGParser.cpp516 static bool isObjectStart(tgtok::TokKind K) { in isObjectStart()
523 bool TGParser::consume(tgtok::TokKind K) { in consume()
1166 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation()
1438 tgtok::TokKind LexCode = Lex.getCode(); in ParseOperation()
1917 tgtok::TokKind Operation = Lex.getCode(); in ParseOperationForEachFilter()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DBracesAroundStatementsCheck.cpp44 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in forwardSkipWhitespaceAndComments() local
45 if (TokKind != tok::comment) in forwardSkipWhitespaceAndComments()
73 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in findEndLocation() local
74 if (TokKind != tok::comment) { in findEndLocation()
178 tok::TokenKind TokKind = getTokenKind(RParenLoc, SM, Context); in findRParenLoc() local
179 if (TokKind != tok::r_paren) in findRParenLoc()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DMasmParser.cpp2025 AsmToken::TokenKind TokKind = Lexer.getKind(); in parseBinOpRHS() local
2027 TokKind = StringSwitch<AsmToken::TokenKind>(Lexer.getTok().getString()) in parseBinOpRHS()
2040 .Default(TokKind); in parseBinOpRHS()
2043 unsigned TokPrec = getBinOpPrecedence(TokKind, Kind); in parseBinOpRHS()