Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseExpr.cpp1686 Parser::ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok, in ParseExprAfterUnaryExprOrTypeTrait() argument
1691 assert(OpTok.isOneOf(tok::kw_typeof, tok::kw_sizeof, tok::kw___alignof, in ParseExprAfterUnaryExprOrTypeTrait()
1702 if (OpTok.isOneOf(tok::kw_sizeof, tok::kw___alignof, tok::kw_alignof, in ParseExprAfterUnaryExprOrTypeTrait()
1710 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
1713 << OpTok.getName() in ParseExprAfterUnaryExprOrTypeTrait()
1722 if (OpTok.is(tok::kw_typeof) && !getLangOpts().CPlusPlus) { in ParseExprAfterUnaryExprOrTypeTrait()
1723 Diag(Tok, diag::err_expected_after) << OpTok.getIdentifierInfo() in ParseExprAfterUnaryExprOrTypeTrait()
1748 if (getLangOpts().CPlusPlus || OpTok.isNot(tok::kw_typeof)) { in ParseExprAfterUnaryExprOrTypeTrait()
1781 Token OpTok = Tok; in ParseUnaryExprOrTypeTraitExpression() local
1785 if (Tok.is(tok::ellipsis) && OpTok.is(tok::kw_sizeof)) { in ParseUnaryExprOrTypeTraitExpression()
[all …]
DParseDecl.cpp6155 Token OpTok = Tok; in ParseTypeofSpecifier() local
6167 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange)); in ParseTypeofSpecifier()
/external/llvm/lib/TableGen/
DTGParser.cpp885 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation() local
892 switch (OpTok) { in ParseOperation()
936 if (OpTok == tgtok::XListConcat) { in ParseOperation()
/external/clang/include/clang/Parse/
DParser.h1428 ExprResult ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok,