• Home
  • Raw
  • Download

Lines Matching refs:Actions

52     Actions.CodeCompleteObjCAtDirective(getCurScope());  in ParseObjCAtDirectives()
88 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtDirectives()
95 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
100 Sema &Actions; member in Parser::ObjCTypeParamListScope
105 ObjCTypeParamListScope(Sema &Actions, Scope *S) in ObjCTypeParamListScope() argument
106 : Actions(Actions), S(S), Params(nullptr) {} in ObjCTypeParamListScope()
119 Actions.popObjCTypeParamList(S, Params); in leave()
143 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
160 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
162 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration()
170 Sema::ObjCContainerKind ock = Actions.getObjCContainerKind(); in CheckNestedObjCContexts()
174 Decl *Decl = Actions.getObjCDeclContext(); in CheckNestedObjCContexts()
178 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts()
225 Actions.CodeCompleteObjCInterfaceDecl(getCurScope()); in ParseObjCAtInterfaceDeclaration()
248 ObjCTypeParamListScope typeParamScope(Actions, getCurScope()); in ParseObjCAtInterfaceDeclaration()
262 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration()
298 Actions.ActOnStartCategoryInterface(AtLoc, in ParseObjCAtInterfaceDeclaration()
327 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc); in ParseObjCAtInterfaceDeclaration()
358 Actions.FindProtocolDeclaration(/*WarnOnDeclarations=*/true, in ParseObjCAtInterfaceDeclaration()
370 Actions.ActOnTypedefedProtocols(protocols, superClassId, superClassLoc); in ParseObjCAtInterfaceDeclaration()
373 Actions.ActOnStartClassInterface(getCurScope(), AtLoc, nameId, nameLoc, in ParseObjCAtInterfaceDeclaration()
461 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs()
500 Actions.CodeCompleteObjCProtocolReferences(protocolIdents); in parseObjCTypeParamListOrProtocolRefs()
539 DeclResult typeParam = Actions.actOnObjCTypeParam( in parseObjCTypeParamListOrProtocolRefs()
581 ObjCTypeParamList *list = Actions.actOnObjCTypeParamList( in parseObjCTypeParamListOrProtocolRefs()
601 ObjCTypeParamListScope Scope(Actions, getCurScope()); in parseObjCTypeParamList()
662 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCInterfaceDeclList()
683 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList()
718 << (int) Actions.getObjCContainerKind(); in ParseObjCInterfaceDeclList()
777 Decl *Property = Actions.ActOnProperty( in ParseObjCInterfaceDeclList()
796 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCInterfaceDeclList()
804 << (int) Actions.getObjCContainerKind(); in ParseObjCInterfaceDeclList()
811 Actions.ActOnAtEnd(getCurScope(), AtEnd, allMethods, allTUVariables); in ParseObjCInterfaceDeclList()
864 Actions.CodeCompleteObjCPropertyFlags(getCurScope(), DS); in ParseObjCPropertyAttribute()
911 Actions.CodeCompleteObjCPropertySetter(getCurScope()); in ParseObjCPropertyAttribute()
913 Actions.CodeCompleteObjCPropertyGetter(getCurScope()); in ParseObjCPropertyAttribute()
1157 Actions.CodeCompleteObjCPassingType(getCurScope(), DS, in ParseObjCTypeQualifierList()
1293 TypeResult type = Actions.ActOnTypeName(getCurScope(), declarator); in ParseObjCTypeName()
1353 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus, in ParseObjCMethodDecl()
1372 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus, in ParseObjCMethodDecl()
1399 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(), in ParseObjCMethodDecl()
1441 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(), in ParseObjCMethodDecl()
1468 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(), in ParseObjCMethodDecl()
1511 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl()
1529 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(), in ParseObjCMethodDecl()
1557 Actions.CodeCompleteObjCProtocolReferences(ProtocolIdents); in ParseObjCProtocolReferences()
1582 Actions.FindProtocolDeclaration(WarnOnDeclarations, ForObjCContainer, in ParseObjCProtocolReferences()
1597 TypeResult result = Actions.actOnObjCProtocolQualifierType(lAngleLoc, in parseObjCProtocolQualifierType()
1656 QualType BaseT = Actions.GetTypeFromParser(baseType); in parseObjCTypeArgsOrProtocolQualifiers()
1658 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Type); in parseObjCTypeArgsOrProtocolQualifiers()
1660 Actions.CodeCompleteObjCProtocolReferences(identifierLocPairs); in parseObjCTypeArgsOrProtocolQualifiers()
1679 Actions.actOnObjCTypeArgsOrProtocolQualifiers(getCurScope(), in parseObjCTypeArgsOrProtocolQualifiers()
1709 = Actions.getTypeName(*identifiers[i], identifierLocs[i], getCurScope()); in parseObjCTypeArgsOrProtocolQualifiers()
1715 typeArg, Actions.getASTContext().getPrintingPolicy()); in parseObjCTypeArgsOrProtocolQualifiers()
1719 TypeResult fullTypeArg = Actions.ActOnTypeName(getCurScope(), D); in parseObjCTypeArgsOrProtocolQualifiers()
1733 if (!Actions.LookupProtocol(identifiers[i], identifierLocs[i])) { in parseObjCTypeArgsOrProtocolQualifiers()
1752 typeArg = Actions.ActOnPackExpansion(typeArg.get(), ellipsisLoc); in parseObjCTypeArgsOrProtocolQualifiers()
1768 Actions.DiagnoseTypeArgsAndProtocols(foundProtocolId, foundProtocolSrcLoc, in parseObjCTypeArgsOrProtocolQualifiers()
1776 Actions.DiagnoseUnknownTypeName(unknownTypeArgs[i], unknownTypeArgsLoc[i], in parseObjCTypeArgsOrProtocolQualifiers()
1871 return Actions.actOnObjCTypeArgsAndProtocolQualifiers( in parseObjCTypeArgsAndProtocolQualifiers()
1891 Actions.ActOnObjCContainerStartDefinition(interfaceDecl); in HelperActionsForIvarDeclarations()
1892 Actions.ActOnLastBitfield(T.getCloseLocation(), AllIvarDecls); in HelperActionsForIvarDeclarations()
1893 Actions.ActOnObjCContainerFinishDefinition(); in HelperActionsForIvarDeclarations()
1896 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl, in HelperActionsForIvarDeclarations()
1945 Actions.CodeCompleteObjCAtVisibility(getCurScope()); in ParseObjCClassInstanceVariables()
1975 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseObjCClassInstanceVariables()
1981 Actions.ActOnObjCContainerStartDefinition(interfaceDecl); in ParseObjCClassInstanceVariables()
1984 Decl *Field = Actions.ActOnIvar( in ParseObjCClassInstanceVariables()
1987 Actions.ActOnObjCContainerFinishDefinition(); in ParseObjCClassInstanceVariables()
2033 Actions.CodeCompleteObjCProtocolDecl(getCurScope()); in ParseObjCAtProtocolDeclaration()
2050 return Actions.ActOnForwardProtocolDeclaration(AtLoc, ProtoInfo, in ParseObjCAtProtocolDeclaration()
2079 return Actions.ActOnForwardProtocolDeclaration(AtLoc, ProtocolRefs, in ParseObjCAtProtocolDeclaration()
2095 Actions.ActOnStartProtocolInterface(AtLoc, protocolName, nameLoc, in ParseObjCAtProtocolDeclaration()
2102 return Actions.ConvertDeclToDeclGroup(ProtoType); in ParseObjCAtProtocolDeclaration()
2124 Actions.CodeCompleteObjCImplementationDecl(getCurScope()); in ParseObjCAtImplementationDeclaration()
2147 ObjCTypeParamListScope typeParamScope(Actions, getCurScope()); in ParseObjCAtImplementationDeclaration()
2165 Actions.CodeCompleteObjCImplementationCategory(getCurScope(), nameId, nameLoc); in ParseObjCAtImplementationDeclaration()
2195 ObjCImpDecl = Actions.ActOnStartCategoryImplementation( in ParseObjCAtImplementationDeclaration()
2213 ObjCImpDecl = Actions.ActOnStartClassImplementation( in ParseObjCAtImplementationDeclaration()
2249 return Actions.ActOnFinishObjCImplementation(ObjCImpDecl, DeclsInGroup); in ParseObjCAtImplementationDeclaration()
2281 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl); in finish()
2286 P.Actions.ActOnAtEnd(P.getCurScope(), AtEnd); in finish()
2323 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc, in ParseObjCAtAliasDeclaration()
2345 Actions.CodeCompleteObjCPropertyDefinition(getCurScope()); in ParseObjCPropertySynthesize()
2363 Actions.CodeCompleteObjCPropertySynthesizeIvar(getCurScope(), propertyId); in ParseObjCPropertySynthesize()
2375 Actions.ActOnPropertyImplDecl( in ParseObjCPropertySynthesize()
2425 Actions.CodeCompleteObjCPropertyDefinition(getCurScope()); in ParseObjCPropertyDynamic()
2438 Actions.ActOnPropertyImplDecl( in ParseObjCPropertyDynamic()
2467 return Actions.ActOnObjCAtThrowStmt(atLoc, Res.get(), getCurScope()); in ParseObjCThrowStmt()
2504 operand = Actions.ActOnObjCAtSynchronizedOperand(atLoc, operand.get()); in ParseObjCSynchronizedStmt()
2517 body = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCSynchronizedStmt()
2519 return Actions.ActOnObjCAtSynchronizedStmt(atLoc, operand.get(), body.get()); in ParseObjCSynchronizedStmt()
2547 TryBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCTryStmt()
2573 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
2590 CatchBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCTryStmt()
2592 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc, in ParseObjCTryStmt()
2616 FinallyBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCTryStmt()
2617 FinallyStmt = Actions.ActOnObjCAtFinallyStmt(AtCatchFinallyLoc, in ParseObjCTryStmt()
2628 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.get(), in ParseObjCTryStmt()
2651 AutoreleasePoolBody = Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCAutoreleasePoolStmt()
2652 return Actions.ActOnObjCAutoreleasePoolStmt(atLoc, in ParseObjCAutoreleasePoolStmt()
2659 if (SkipFunctionBodies && (!MDecl || Actions.canSkipFunctionBody(MDecl)) && in StashAwayMethodOrFunctionBodyTokens()
2661 Actions.ActOnSkippedFunctionBody(MDecl); in StashAwayMethodOrFunctionBodyTokens()
2705 PrettyDeclStackTraceEntry CrashInfo(Actions, MDecl, Tok.getLocation(), in ParseObjCMethodDefinition()
2736 Actions.AddAnyMethodToGlobalPool(MDecl); in ParseObjCMethodDefinition()
2746 Actions.CodeCompleteObjCAtStatement(getCurScope()); in ParseObjCAtStatement()
2766 return Actions.ActOnNullStmt(Tok.getLocation()); in ParseObjCAtStatement()
2780 return Actions.ActOnExprStmt(Res); in ParseObjCAtStatement()
2786 Actions.CodeCompleteObjCAtExpression(getCurScope()); in ParseObjCAtExpression()
2807 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); in ParseObjCAtExpression()
2813 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
2818 Actions.BuildObjCNumericLiteral(AtLoc, Lit.get())); in ParseObjCAtExpression()
2911 if (!Actions.isSimpleTypeSpecifier(Tok.getKind())) { in ParseObjCXXMessageReceiver()
2917 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseObjCXXMessageReceiver()
2963 TypeResult Type = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseObjCXXMessageReceiver()
2994 Type = Actions.getTypeName(*Tok.getIdentifierInfo(), Tok.getLocation(), in isStartOfObjCClassMessageMissingOpenBracket()
3026 Actions.CodeCompleteObjCMessageReceiver(getCurScope()); in ParseObjCMessageExpression()
3066 switch (Actions.getObjCMessageKind(getCurScope(), Name, NameLoc, in ParseObjCMessageExpression()
3107 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseObjCMessageExpression()
3164 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, None, in ParseObjCMessageExpressionBody()
3167 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType, None, in ParseObjCMessageExpressionBody()
3170 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr, in ParseObjCMessageExpressionBody()
3202 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, in ParseObjCMessageExpressionBody()
3206 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType, in ParseObjCMessageExpressionBody()
3210 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr, in ParseObjCMessageExpressionBody()
3240 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, in ParseObjCMessageExpressionBody()
3244 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType, in ParseObjCMessageExpressionBody()
3248 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr, in ParseObjCMessageExpressionBody()
3267 Res = Actions.CorrectDelayedTyposInExpr(Res); in ParseObjCMessageExpressionBody()
3313 return Actions.ActOnSuperMessage(getCurScope(), SuperLoc, Sel, in ParseObjCMessageExpressionBody()
3316 return Actions.ActOnClassMessage(getCurScope(), ReceiverType, Sel, in ParseObjCMessageExpressionBody()
3318 return Actions.ActOnInstanceMessage(getCurScope(), ReceiverExpr, Sel, in ParseObjCMessageExpressionBody()
3348 return Actions.ParseObjCStringLiteral(AtLocs.data(), AtStrings); in ParseObjCStringLiteral()
3359 return Actions.ActOnObjCBoolLiteral(AtLoc, EndLoc, ArgValue); in ParseObjCBooleanLiteral()
3366 ExprResult Lit(Actions.ActOnCharacterConstant(Tok)); in ParseObjCCharacterLiteral()
3371 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.get()); in ParseObjCCharacterLiteral()
3380 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); in ParseObjCNumericLiteral()
3385 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.get()); in ParseObjCNumericLiteral()
3408 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get()); in ParseObjCBoxedExpr()
3409 return Actions.BuildObjCBoxedExpr(SourceRange(AtLoc, RPLoc), in ParseObjCBoxedExpr()
3430 Res = Actions.ActOnPackExpansion(Res.get(), ConsumeToken()); in ParseObjCArrayLiteral()
3444 return Actions.BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args); in ParseObjCArrayLiteral()
3498 return Actions.BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc), in ParseObjCDictionaryLiteral()
3523 return Actions.ParseObjCEncodeExpression(AtLoc, EncLoc, T.getOpenLocation(), in ParseObjCEncodeExpression()
3547 return Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc, in ParseObjCProtocolExpression()
3570 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents); in ParseObjCSelectorExpression()
3596 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents); in ParseObjCSelectorExpression()
3613 return Actions.ParseObjCSelectorExpression(Sel, AtLoc, SelectorLoc, in ParseObjCSelectorExpression()
3623 ((parseMethod && !Actions.isObjCMethodDecl(MCDecl)) || in ParseLexedObjCMethodDefs()
3624 (!parseMethod && Actions.isObjCMethodDecl(MCDecl))); in ParseLexedObjCMethodDefs()
3651 Actions.ActOnStartOfObjCMethodDef(getCurScope(), MCDecl); in ParseLexedObjCMethodDefs()
3653 Actions.ActOnStartOfFunctionDef(getCurScope(), MCDecl); in ParseLexedObjCMethodDefs()
3660 Actions.ActOnDefaultCtorInitializers(MCDecl); in ParseLexedObjCMethodDefs()