Lines Matching refs:Actions
60 Actions.CodeCompletion().CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives()
106 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtDirectives()
113 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
118 Sema &Actions; member in Parser::ObjCTypeParamListScope
123 ObjCTypeParamListScope(Sema &Actions, Scope *S) in ObjCTypeParamListScope() argument
124 : Actions(Actions), S(S), Params(nullptr) {} in ObjCTypeParamListScope()
137 Actions.ObjC().popObjCTypeParamList(S, Params); in leave()
160 Actions.CodeCompletion().CodeCompleteObjCClassForwardDecl(getCurScope()); in ParseObjCAtClassDeclaration()
161 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
165 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
182 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
184 return Actions.ObjC().ActOnForwardClassDeclaration( in ParseObjCAtClassDeclaration()
191 SemaObjC::ObjCContainerKind ock = Actions.ObjC().getObjCContainerKind(); in CheckNestedObjCContexts()
195 Decl *Decl = Actions.ObjC().getObjCDeclContext(); in CheckNestedObjCContexts()
199 Actions.ObjC().ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts()
246 Actions.CodeCompletion().CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration()
265 ObjCTypeParamListScope typeParamScope(Actions, getCurScope()); in ParseObjCAtInterfaceDeclaration()
280 Actions.CodeCompletion().CodeCompleteObjCInterfaceCategory( in ParseObjCAtInterfaceDeclaration()
310 ObjCCategoryDecl *CategoryType = Actions.ObjC().ActOnStartCategoryInterface( in ParseObjCAtInterfaceDeclaration()
336 Actions.CodeCompletion().CodeCompleteObjCSuperclass(getCurScope(), nameId, in ParseObjCAtInterfaceDeclaration()
366 Actions.ObjC().FindProtocolDeclaration(/*WarnOnDeclarations=*/true, in ParseObjCAtInterfaceDeclaration()
378 Actions.ObjC().ActOnTypedefedProtocols(protocols, protocolLocs, in ParseObjCAtInterfaceDeclaration()
382 ObjCInterfaceDecl *ClsType = Actions.ObjC().ActOnStartClassInterface( in ParseObjCAtInterfaceDeclaration()
395 if (Actions.ActOnDuplicateODRHashDefinition(ClsType, PreviousDef)) { in ParseObjCAtInterfaceDeclaration()
398 ODRDiagsEmitter DiagsEmitter(Diags, Actions.getASTContext(), in ParseObjCAtInterfaceDeclaration()
474 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs()
514 Actions.CodeCompletion().CodeCompleteObjCProtocolReferences( in parseObjCTypeParamListOrProtocolRefs()
553 DeclResult typeParam = Actions.ObjC().actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs()
594 ObjCTypeParamList *list = Actions.ObjC().actOnObjCTypeParamList( in parseObjCTypeParamListOrProtocolRefs()
611 ObjCTypeParamListScope Scope(Actions, getCurScope()); in parseObjCTypeParamList()
688 Actions.CodeCompletion().CodeCompleteOrdinaryName( in ParseObjCInterfaceDeclList()
728 Actions.CodeCompletion().CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList()
816 Decl *Property = Actions.ObjC().ActOnProperty( in ParseObjCInterfaceDeclList()
842 << (int)Actions.ObjC().getObjCContainerKind(); in ParseObjCInterfaceDeclList()
849 Actions.ObjC().ActOnAtEnd(getCurScope(), AtEnd, allMethods, allTUVariables); in ParseObjCInterfaceDeclList()
904 Actions.CodeCompletion().CodeCompleteObjCPropertyFlags(getCurScope(), DS); in ParseObjCPropertyAttribute()
952 Actions.CodeCompletion().CodeCompleteObjCPropertySetter( in ParseObjCPropertyAttribute()
955 Actions.CodeCompletion().CodeCompleteObjCPropertyGetter( in ParseObjCPropertyAttribute()
1207 Actions.CodeCompletion().CodeCompleteObjCPassingType( in ParseObjCTypeQualifierList()
1340 TypeResult type = Actions.ActOnTypeName(declarator); in ParseObjCTypeName()
1401 Actions.CodeCompletion().CodeCompleteObjCMethodDecl(getCurScope(), in ParseObjCMethodDecl()
1421 Actions.CodeCompletion().CodeCompleteObjCMethodDecl( in ParseObjCMethodDecl()
1446 Decl *Result = Actions.ObjC().ActOnMethodDeclaration( in ParseObjCMethodDecl()
1484 Actions.CodeCompletion().CodeCompleteObjCMethodDeclSelector( in ParseObjCMethodDecl()
1507 Actions.CodeCompletion().CodeCompleteObjCMethodDeclSelector( in ParseObjCMethodDecl()
1550 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl()
1567 Decl *Result = Actions.ObjC().ActOnMethodDeclaration( in ParseObjCMethodDecl()
1594 Actions.CodeCompletion().CodeCompleteObjCProtocolReferences( in ParseObjCProtocolReferences()
1618 Actions.ObjC().FindProtocolDeclaration(WarnOnDeclarations, ForObjCContainer, in ParseObjCProtocolReferences()
1633 TypeResult result = Actions.ObjC().actOnObjCProtocolQualifierType( in parseObjCProtocolQualifierType()
1690 QualType BaseT = Actions.GetTypeFromParser(baseType); in parseObjCTypeArgsOrProtocolQualifiers()
1693 Actions.CodeCompletion().CodeCompleteOrdinaryName( in parseObjCTypeArgsOrProtocolQualifiers()
1696 Actions.CodeCompletion().CodeCompleteObjCProtocolReferences( in parseObjCTypeArgsOrProtocolQualifiers()
1715 Actions.ObjC().actOnObjCTypeArgsOrProtocolQualifiers( in parseObjCTypeArgsOrProtocolQualifiers()
1737 = Actions.getTypeName(*identifiers[i], identifierLocs[i], getCurScope()); in parseObjCTypeArgsOrProtocolQualifiers()
1743 typeArg, Actions.getASTContext().getPrintingPolicy()); in parseObjCTypeArgsOrProtocolQualifiers()
1748 TypeResult fullTypeArg = Actions.ActOnTypeName(D); in parseObjCTypeArgsOrProtocolQualifiers()
1762 if (!Actions.ObjC().LookupProtocol(identifiers[i], identifierLocs[i])) { in parseObjCTypeArgsOrProtocolQualifiers()
1781 typeArg = Actions.ActOnPackExpansion(typeArg.get(), ellipsisLoc); in parseObjCTypeArgsOrProtocolQualifiers()
1797 Actions.ObjC().DiagnoseTypeArgsAndProtocols( in parseObjCTypeArgsOrProtocolQualifiers()
1805 Actions.DiagnoseUnknownTypeName(unknownTypeArgs[i], unknownTypeArgsLoc[i], in parseObjCTypeArgsOrProtocolQualifiers()
1905 return Actions.ObjC().actOnObjCTypeArgsAndProtocolQualifiers( in parseObjCTypeArgsAndProtocolQualifiers()
1919 Actions.ActOnLastBitfield(T.getCloseLocation(), AllIvarDecls); in HelperActionsForIvarDeclarations()
1922 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl, AllIvarDecls, in HelperActionsForIvarDeclarations()
1972 Actions.CodeCompletion().CodeCompleteObjCAtVisibility(getCurScope()); in ParseObjCClassInstanceVariables()
2003 Actions.CodeCompletion().CodeCompleteOrdinaryName( in ParseObjCClassInstanceVariables()
2022 Decl *Field = Actions.ObjC().ActOnIvar( in ParseObjCClassInstanceVariables()
2072 Actions.CodeCompletion().CodeCompleteObjCProtocolDecl(getCurScope()); in ParseObjCAtProtocolDeclaration()
2086 return Actions.ObjC().ActOnForwardProtocolDeclaration(AtLoc, ProtoInfo, in ParseObjCAtProtocolDeclaration()
2114 return Actions.ObjC().ActOnForwardProtocolDeclaration(AtLoc, ProtocolRefs, in ParseObjCAtProtocolDeclaration()
2130 ObjCProtocolDecl *ProtoType = Actions.ObjC().ActOnStartProtocolInterface( in ParseObjCAtProtocolDeclaration()
2137 if (Actions.ActOnDuplicateODRHashDefinition(ProtoType, PreviousDef)) { in ParseObjCAtProtocolDeclaration()
2141 ODRDiagsEmitter DiagsEmitter(Diags, Actions.getASTContext(), in ParseObjCAtProtocolDeclaration()
2146 return Actions.ConvertDeclToDeclGroup(ProtoType); in ParseObjCAtProtocolDeclaration()
2170 Actions.CodeCompletion().CodeCompleteObjCImplementationDecl(getCurScope()); in ParseObjCAtImplementationDeclaration()
2189 ObjCTypeParamListScope typeParamScope(Actions, getCurScope()); in ParseObjCAtImplementationDeclaration()
2208 Actions.CodeCompletion().CodeCompleteObjCImplementationCategory( in ParseObjCAtImplementationDeclaration()
2238 ObjCImpDecl = Actions.ObjC().ActOnStartCategoryImplementation( in ParseObjCAtImplementationDeclaration()
2252 ObjCImpDecl = Actions.ObjC().ActOnStartClassImplementation( in ParseObjCAtImplementationDeclaration()
2288 return Actions.ObjC().ActOnFinishObjCImplementation(ObjCImpDecl, in ParseObjCAtImplementationDeclaration()
2321 P.Actions.ObjC().DefaultSynthesizeProperties(P.getCurScope(), Dcl, in finish()
2327 P.Actions.ObjC().ActOnAtEnd(P.getCurScope(), AtEnd); in finish()
2360 return Actions.ObjC().ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc, in ParseObjCAtAliasDeclaration()
2383 Actions.CodeCompletion().CodeCompleteObjCPropertyDefinition( in ParseObjCPropertySynthesize()
2402 Actions.CodeCompletion().CodeCompleteObjCPropertySynthesizeIvar( in ParseObjCPropertySynthesize()
2412 Actions.ObjC().ActOnPropertyImplDecl( in ParseObjCPropertySynthesize()
2462 Actions.CodeCompletion().CodeCompleteObjCPropertyDefinition( in ParseObjCPropertyDynamic()
2474 Actions.ObjC().ActOnPropertyImplDecl( in ParseObjCPropertyDynamic()
2503 return Actions.ObjC().ActOnObjCAtThrowStmt(atLoc, Res.get(), getCurScope()); in ParseObjCThrowStmt()
2541 Actions.ObjC().ActOnObjCAtSynchronizedOperand(atLoc, operand.get()); in ParseObjCSynchronizedStmt()
2554 body = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCSynchronizedStmt()
2556 return Actions.ObjC().ActOnObjCAtSynchronizedStmt(atLoc, operand.get(), in ParseObjCSynchronizedStmt()
2585 TryBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCTryStmt()
2616 Actions.ObjC().ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
2633 CatchBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCTryStmt()
2635 StmtResult Catch = Actions.ObjC().ActOnObjCAtCatchStmt( in ParseObjCTryStmt()
2655 Actions.ActOnCapturedRegionStart(Tok.getLocation(), getCurScope(), in ParseObjCTryStmt()
2665 FinallyBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCTryStmt()
2667 Actions.ActOnCapturedRegionError(); in ParseObjCTryStmt()
2669 FinallyBody = Actions.ActOnCapturedRegionEnd(FinallyBody.get()); in ParseObjCTryStmt()
2672 FinallyStmt = Actions.ObjC().ActOnObjCAtFinallyStmt(AtCatchFinallyLoc, in ParseObjCTryStmt()
2683 return Actions.ObjC().ActOnObjCAtTryStmt(atLoc, TryBody.get(), CatchStmts, in ParseObjCTryStmt()
2705 AutoreleasePoolBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCAutoreleasePoolStmt()
2706 return Actions.ObjC().ActOnObjCAutoreleasePoolStmt(atLoc, in ParseObjCAutoreleasePoolStmt()
2713 if (SkipFunctionBodies && (!MDecl || Actions.canSkipFunctionBody(MDecl)) && in StashAwayMethodOrFunctionBodyTokens()
2715 Actions.ActOnSkippedFunctionBody(MDecl); in StashAwayMethodOrFunctionBodyTokens()
2759 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, MDecl, Tok.getLocation(), in ParseObjCMethodDefinition()
2790 Actions.ObjC().AddAnyMethodToGlobalPool(MDecl); in ParseObjCMethodDefinition()
2802 Actions.CodeCompletion().CodeCompleteObjCAtStatement(getCurScope()); in ParseObjCAtStatement()
2821 return Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCAtStatement()
2843 Actions.CodeCompletion().CodeCompleteObjCAtExpression(getCurScope()); in ParseObjCAtExpression()
2863 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); in ParseObjCAtExpression()
2869 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
2874 Actions.ObjC().BuildObjCNumericLiteral(AtLoc, Lit.get())); in ParseObjCAtExpression()
2979 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseObjCXXMessageReceiver()
3026 TypeResult Type = Actions.ActOnTypeName(DeclaratorInfo); in ParseObjCXXMessageReceiver()
3057 Type = Actions.getTypeName(*Tok.getIdentifierInfo(), Tok.getLocation(), in isStartOfObjCClassMessageMissingOpenBracket()
3091 Actions.CodeCompletion().CodeCompleteObjCMessageReceiver(getCurScope()); in ParseObjCMessageExpression()
3130 switch (Actions.ObjC().getObjCMessageKind( in ParseObjCMessageExpression()
3170 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseObjCMessageExpression()
3228 Actions.CodeCompletion().CodeCompleteObjCSuperMessage( in ParseObjCMessageExpressionBody()
3231 Actions.CodeCompletion().CodeCompleteObjCClassMessage( in ParseObjCMessageExpressionBody()
3234 Actions.CodeCompletion().CodeCompleteObjCInstanceMessage( in ParseObjCMessageExpressionBody()
3266 Actions.CodeCompletion().CodeCompleteObjCSuperMessage( in ParseObjCMessageExpressionBody()
3270 Actions.CodeCompletion().CodeCompleteObjCClassMessage( in ParseObjCMessageExpressionBody()
3274 Actions.CodeCompletion().CodeCompleteObjCInstanceMessage( in ParseObjCMessageExpressionBody()
3304 Actions.CodeCompletion().CodeCompleteObjCSuperMessage( in ParseObjCMessageExpressionBody()
3308 Actions.CodeCompletion().CodeCompleteObjCClassMessage( in ParseObjCMessageExpressionBody()
3312 Actions.CodeCompletion().CodeCompleteObjCInstanceMessage( in ParseObjCMessageExpressionBody()
3330 Res = Actions.CorrectDelayedTyposInExpr(Res); in ParseObjCMessageExpressionBody()
3376 return Actions.ObjC().ActOnSuperMessage( in ParseObjCMessageExpressionBody()
3379 return Actions.ObjC().ActOnClassMessage(getCurScope(), ReceiverType, Sel, in ParseObjCMessageExpressionBody()
3382 return Actions.ObjC().ActOnInstanceMessage( in ParseObjCMessageExpressionBody()
3412 return Actions.ObjC().ParseObjCStringLiteral(AtLocs.data(), AtStrings); in ParseObjCStringLiteral()
3423 return Actions.ObjC().ActOnObjCBoolLiteral(AtLoc, EndLoc, ArgValue); in ParseObjCBooleanLiteral()
3430 ExprResult Lit(Actions.ActOnCharacterConstant(Tok)); in ParseObjCCharacterLiteral()
3435 return Actions.ObjC().BuildObjCNumericLiteral(AtLoc, Lit.get()); in ParseObjCCharacterLiteral()
3444 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); in ParseObjCNumericLiteral()
3449 return Actions.ObjC().BuildObjCNumericLiteral(AtLoc, Lit.get()); in ParseObjCNumericLiteral()
3472 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get()); in ParseObjCBoxedExpr()
3473 return Actions.ObjC().BuildObjCBoxedExpr(SourceRange(AtLoc, RPLoc), in ParseObjCBoxedExpr()
3493 Res = Actions.CorrectDelayedTyposInExpr(Res.get()); in ParseObjCArrayLiteral()
3499 Res = Actions.ActOnPackExpansion(Res.get(), ConsumeToken()); in ParseObjCArrayLiteral()
3517 return Actions.ObjC().BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args); in ParseObjCArrayLiteral()
3554 KeyExpr = Actions.CorrectDelayedTyposInExpr(KeyExpr.get()); in ParseObjCDictionaryLiteral()
3555 ValueExpr = Actions.CorrectDelayedTyposInExpr(ValueExpr.get()); in ParseObjCDictionaryLiteral()
3582 return Actions.ObjC().BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc), in ParseObjCDictionaryLiteral()
3607 return Actions.ObjC().ParseObjCEncodeExpression( in ParseObjCEncodeExpression()
3631 return Actions.ObjC().ParseObjCProtocolExpression( in ParseObjCProtocolExpression()
3655 Actions.CodeCompletion().CodeCompleteObjCSelector(getCurScope(), KeyIdents); in ParseObjCSelectorExpression()
3681 Actions.CodeCompletion().CodeCompleteObjCSelector(getCurScope(), in ParseObjCSelectorExpression()
3698 return Actions.ObjC().ParseObjCSelectorExpression( in ParseObjCSelectorExpression()
3707 MCDecl && ((parseMethod && !Actions.ObjC().isObjCMethodDecl(MCDecl)) || in ParseLexedObjCMethodDefs()
3708 (!parseMethod && Actions.ObjC().isObjCMethodDecl(MCDecl))); in ParseLexedObjCMethodDefs()
3738 Sema::FPFeaturesStateRAII SaveFPFeatures(Actions); in ParseLexedObjCMethodDefs()
3743 Actions.ObjC().ActOnStartOfObjCMethodDef(getCurScope(), MCDecl); in ParseLexedObjCMethodDefs()
3745 Actions.ActOnStartOfFunctionDef(getCurScope(), MCDecl); in ParseLexedObjCMethodDefs()
3752 Actions.ActOnDefaultCtorInitializers(MCDecl); in ParseLexedObjCMethodDefs()