Home
last modified time | relevance | path

Searched refs:OpTok (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2431 Parser::ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok, in ParseExprAfterUnaryExprOrTypeTrait() argument
2436 assert(OpTok.isOneOf(tok::kw_typeof, tok::kw_typeof_unqual, tok::kw_sizeof, in ParseExprAfterUnaryExprOrTypeTrait()
2449 if (OpTok.isOneOf(tok::kw_sizeof, tok::kw___datasizeof, tok::kw___alignof, in ParseExprAfterUnaryExprOrTypeTrait()
2458 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
2461 Diag(OpTok.getLocation(), in ParseExprAfterUnaryExprOrTypeTrait()
2463 << OpTok.getName(); in ParseExprAfterUnaryExprOrTypeTrait()
2466 << OpTok.getName() << FixItHint::CreateInsertion(LParenLoc, "(") in ParseExprAfterUnaryExprOrTypeTrait()
2475 if (OpTok.isOneOf(tok::kw_typeof, tok::kw_typeof_unqual) && in ParseExprAfterUnaryExprOrTypeTrait()
2477 Diag(Tok, diag::err_expected_after) << OpTok.getIdentifierInfo() in ParseExprAfterUnaryExprOrTypeTrait()
2503 !OpTok.isOneOf(tok::kw_typeof, tok::kw_typeof_unqual)) { in ParseExprAfterUnaryExprOrTypeTrait()
[all …]
H A DParseDecl.cpp8323 Token OpTok = Tok; in ParseTypeofSpecifier() local
8335 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange)); in ParseTypeofSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1450 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation() local
1455 switch (OpTok) { in ParseOperation()
1492 switch (OpTok) { in ParseOperation()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1923 ExprResult ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok,