Lines Matching refs:getCurScope
153 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
162 Actions.CodeCompleteExpression(getCurScope(), in ParseAssignmentExpression()
326 ExprResult Op = Actions.ActOnBinOp(getCurScope(), LogicalAndLoc, in ParseConstraintLogicalAndExpression()
361 ExprResult Op = Actions.ActOnBinOp(getCurScope(), LogicalOrLoc, in ParseConstraintLogicalOrExpression()
629 Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression()
991 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
1014 Res = Actions.ActOnNameClassifiedAsOverloadSet(getCurScope(), Res.get()); in ParseCastExpression()
1153 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression()
1155 (&II == Ident_super && getCurScope()->isInObjcMethodScope()))) { in ParseCastExpression()
1160 getCurScope(), II, ILoc, ExprStatementTokLoc == ILoc); in ParseCastExpression()
1183 getCurScope()->isInObjcMethodScope() && in ParseCastExpression()
1203 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression()
1215 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression()
1251 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression()
1271 Res = Actions.ActOnCharacterConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
1343 Res = Actions.ActOnUnaryOp(getCurScope(), SavedTok.getLocation(), in ParseCastExpression()
1360 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Arg); in ParseCastExpression()
1382 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Arg); in ParseCastExpression()
1395 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get()); in ParseCastExpression()
1407 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get()); in ParseCastExpression()
1434 if (getCurScope()->getFnParent() == nullptr) in ParseCastExpression()
1489 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseCastExpression()
1727 Actions.CodeCompleteExpression(getCurScope(), in ParseCastExpression()
1858 getCurScope(), LHS, PreferredType.get(Tok.getLocation())); in ParsePostfixExpressionSuffix()
1944 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.get(), Loc, in ParsePostfixExpressionSuffix()
1997 ExprResult ECResult = Actions.ActOnCUDAExecConfigExpr(getCurScope(), in ParsePostfixExpressionSuffix()
2015 getCurScope(), LHS.get(), ArgExprs, PT.getOpenLocation()); in ParsePostfixExpressionSuffix()
2064 LHS = Actions.ActOnCallExpr(getCurScope(), Fn, Loc, ArgExprs, RParLoc, in ParsePostfixExpressionSuffix()
2102 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, OpLoc, in ParsePostfixExpressionSuffix()
2131 getCurScope(), OrigLHS, OpLoc, CorrectedOpKind, ObjectType, in ParsePostfixExpressionSuffix()
2142 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix()
2189 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
2207 LHS = Actions.ActOnPostfixUnaryOp(getCurScope(), Tok.getLocation(), in ParsePostfixExpressionSuffix()
2382 return Actions.ActOnSizeofParameterPackExpr(getCurScope(), in ParseUnaryExprOrTypeTraitExpression()
2564 Res = Actions.ActOnBuiltinOffsetOf(getCurScope(), StartLoc, TypeLoc, in ParseBuiltinPrimaryExpression()
2775 getCurScope(), PreferredType.get(Tok.getLocation()), in ParseParenExpression()
2806 if (!getCurScope()->getFnParent() && !getCurScope()->getBlockParent()) { in ParseParenExpression()
2827 Result = Actions.ActOnStmtExpr(getCurScope(), OpenLoc, Stmt.get(), in ParseParenExpression()
2867 return Actions.ActOnObjCBridgedCast(getCurScope(), OpenLoc, Kind, in ParseParenExpression()
2902 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2917 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2929 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2949 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc, in ParseParenExpression()
2976 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2985 getCurScope()->isInObjcMethodScope() && in ParseParenExpression()
2999 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc, in ParseParenExpression()
3143 AllowUserDefinedLiteral ? getCurScope() in ParseStringLiteralExpression()
3291 return Actions.ActOnCXXFoldExpr(getCurScope(), T.getOpenLocation(), LHS.get(), in ParseFoldExpression()
3408 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Type); in ParseBlockId()
3424 Actions.ActOnBlockArguments(CaretLoc, DeclaratorInfo, getCurScope()); in ParseBlockId()
3452 Actions.ActOnBlockStart(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3476 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3483 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3513 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3521 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3528 Result = Actions.ActOnBlockStmtExpr(CaretLoc, Stmt.get(), getCurScope()); in ParseBlockLiteralExpression()
3530 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()