Home | History | Annotate | Download | only in Parse

Lines Matching defs:Res

206   ExprResult Res(ParseRHSOfBinaryExpression(LHS, prec::Conditional));
207 return Actions.ActOnConstantExpression(Res);
223 ExprResult Res(ParseRHSOfBinaryExpression(LHS, prec::LogicalOr));
225 return Res;
465 ExprResult Res = ParseCastExpression(isUnaryExpression,
471 return Res;
685 ExprResult Res;
709 Res = ParseParenExpression(ParenExprType, false/*stopIfCastExr*/,
722 return Res;
733 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope());
750 assert(Res.get() == nullptr && "Stray primary-expression annotation?");
751 Res = getExprAnnotation(Tok);
884 Res = Actions.ActOnClassPropertyRefExpr(II, PropertyName,
898 Res = ParseObjCMessageExpressionBody(SourceLocation(), ILoc, ParsedType(),
931 Res = ParseObjCMessageExpressionBody(SourceLocation(),
959 Res = Actions.ActOnIdExpression(
964 if (!Res.isInvalid() && !Res.get()) {
976 Res = Actions.ActOnCharacterConstant(Tok, /*UDLScope*/getCurScope());
985 Res = Actions.ActOnPredefinedExpr(Tok.getLocation(), SavedKind);
993 Res = ParseStringLiteralExpression(true);
996 Res = ParseGenericSelectionExpression();
1017 Res = ParseCastExpression(!getLangOpts().CPlusPlus,
1020 if (!Res.isInvalid())
1021 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1022 return Res;
1027 Res = ParseCastExpression(false, true);
1028 if (!Res.isInvalid())
1029 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1030 return Res;
1041 Res = ParseCastExpression(false);
1042 if (!Res.isInvalid())
1043 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1044 return Res;
1049 Res = ParseCastExpression(false);
1050 if (!Res.isInvalid())
1051 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get());
1052 return Res;
1059 Res = ParseCastExpression(false);
1060 if (!Res.isInvalid())
1061 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1062 return Res;
1088 Res = Actions.ActOnAddrLabel(AmpAmpLoc, Tok.getLocation(), LD);
1090 return Res;
1096 Res = ParseCXXCasts();
1099 Res = ParseCXXTypeid();
1102 Res = ParseCXXUuidof();
1105 Res = ParseCXXThis();
1129 Res = ParseObjCMessageExpressionBody(SourceLocation(), SourceLocation(),
1186 Res = ParseCXXTypeConstructExpression(DS);
1216 Res = ParseCXXIdExpression(isAddressOfOperand);
1235 Res = ParseCXXIdExpression(isAddressOfOperand);
1304 Res = ParseBlockLiteralExpression();
1319 Res = TryParseLambdaExpression();
1320 if (!Res.isInvalid() && !Res.get())
1321 Res = ParseObjCMessageExpression();
1324 Res = ParseLambdaExpression();
1328 Res = ParseObjCMessageExpression();
1338 return ParsePostfixExpressionSuffix(Res);
1889 ExprResult Res;
1923 Res = ExprError();
1925 Res = Actions.ActOnVAArg(StartLoc, Expr.get(), Ty.get(), ConsumeParen());
1982 Res = ParseExpression();
1983 if (Res.isInvalid()) {
1985 return Res;
1987 Comps.back().U.E = Res.get();
1994 Res = ExprError();
1996 Res = ExprError();
1999 Res = Actions.ActOnBuiltinOffsetOf(getCurScope(), StartLoc, TypeLoc,
2038 Res = Actions.ActOnChooseExpr(StartLoc, Cond.get(), Expr1.get(),
2067 Res = Actions.ActOnAsTypeExpr(Expr.get(), DestTy.get(), StartLoc,
2096 Res = Actions.ActOnConvertVectorExpr(Expr.get(), DestTy.get(), StartLoc,
2102 if (Res.isInvalid())
2107 return ParsePostfixExpressionSuffix(Res.get());
2253 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T,
2256 return res;