Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseExpr.cpp1734 Parser::ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok, in ParseExprAfterUnaryExprOrTypeTrait() argument
1739 assert(OpTok.isOneOf(tok::kw_typeof, tok::kw_sizeof, tok::kw___alignof, in ParseExprAfterUnaryExprOrTypeTrait()
1750 if (OpTok.isOneOf(tok::kw_sizeof, tok::kw___alignof, tok::kw_alignof, in ParseExprAfterUnaryExprOrTypeTrait()
1758 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
1761 << OpTok.getName() in ParseExprAfterUnaryExprOrTypeTrait()
1770 if (OpTok.is(tok::kw_typeof) && !getLangOpts().CPlusPlus) { in ParseExprAfterUnaryExprOrTypeTrait()
1771 Diag(Tok, diag::err_expected_after) << OpTok.getIdentifierInfo() in ParseExprAfterUnaryExprOrTypeTrait()
1796 if (getLangOpts().CPlusPlus || OpTok.isNot(tok::kw_typeof)) { in ParseExprAfterUnaryExprOrTypeTrait()
1829 Token OpTok = Tok; in ParseUnaryExprOrTypeTraitExpression() local
1833 if (Tok.is(tok::ellipsis) && OpTok.is(tok::kw_sizeof)) { in ParseUnaryExprOrTypeTraitExpression()
[all …]
DParseDecl.cpp6264 Token OpTok = Tok; in ParseTypeofSpecifier() local
6276 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange)); in ParseTypeofSpecifier()
/external/llvm/lib/TableGen/
DTGParser.cpp880 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation() local
887 switch (OpTok) { in ParseOperation()
931 if (OpTok == tgtok::XListConcat) { in ParseOperation()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp1040 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation() local
1045 switch (OpTok) { in ParseOperation()
1066 switch (OpTok) { in ParseOperation()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp805 tgtok::TokKind OpTok = Lex.getCode(); in ParseOperation() local
812 switch (OpTok) { in ParseOperation()
/external/clang/include/clang/Parse/
DParser.h1450 ExprResult ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok,