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.cpp2048 Parser::ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok, in ParseExprAfterUnaryExprOrTypeTrait() argument
2053 assert(OpTok.isOneOf(tok::kw_typeof, tok::kw_typeof_unqual, tok::kw_sizeof, in ParseExprAfterUnaryExprOrTypeTrait()
2066 if (OpTok.isOneOf(tok::kw_sizeof, tok::kw___datasizeof, tok::kw___alignof, in ParseExprAfterUnaryExprOrTypeTrait()
2075 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
2078 Diag(OpTok.getLocation(), in ParseExprAfterUnaryExprOrTypeTrait()
2080 << OpTok.getName(); in ParseExprAfterUnaryExprOrTypeTrait()
2083 << OpTok.getName() << FixItHint::CreateInsertion(LParenLoc, "(") in ParseExprAfterUnaryExprOrTypeTrait()
2092 if (OpTok.isOneOf(tok::kw_typeof, tok::kw_typeof_unqual) && in ParseExprAfterUnaryExprOrTypeTrait()
2094 Diag(Tok, diag::err_expected_after) << OpTok.getIdentifierInfo() in ParseExprAfterUnaryExprOrTypeTrait()
2103 if (OpTok.isOneOf(tok::kw_sizeof, tok::kw___datasizeof, tok::kw___alignof, in ParseExprAfterUnaryExprOrTypeTrait()
[all …]
H A DParseDecl.cpp7920 Token OpTok = Tok; in ParseTypeofSpecifier() local
7932 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange); in ParseTypeofSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1518 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation() local
1523 switch (OpTok) { in ParseOperation()
1563 switch (OpTok) { in ParseOperation()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h4159 ExprResult ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok,