Lines Matching refs:Actions
38 Actions.CodeCompleteObjCAtDirective(getCurScope());
81 return Actions.ConvertDeclToDeclGroup(SingleDecl);
99 return Actions.ConvertDeclToDeclGroup(0);
113 return Actions.ConvertDeclToDeclGroup(0);
115 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(),
122 Sema::ObjCContainerKind ock = Actions.getObjCContainerKind();
126 Decl *Decl = Actions.getObjCDeclContext();
130 Actions.ActOnAtEnd(getCurScope(), AtLoc);
177 Actions.CodeCompleteObjCInterfaceDecl(getCurScope());
199 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc);
233 Actions.ActOnStartCategoryInterface(AtLoc,
256 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc);
278 Actions.ActOnStartClassInterface(AtLoc, nameId, nameLoc,
341 P.Actions.ActOnProperty(P.getCurScope(), AtLoc, LParenLoc,
412 Actions.CodeCompleteOrdinaryName(getCurScope(),
433 Actions.CodeCompleteObjCAtDirective(getCurScope());
468 << (int) Actions.getObjCContainerKind();
509 Actions.CodeCompleteObjCAtDirective(getCurScope());
517 << (int) Actions.getObjCContainerKind();
524 Actions.ActOnAtEnd(getCurScope(), AtEnd,
557 Actions.CodeCompleteObjCPropertyFlags(getCurScope(), DS);
602 Actions.CodeCompleteObjCPropertySetter(getCurScope());
604 Actions.CodeCompleteObjCPropertyGetter(getCurScope());
803 Actions.CodeCompleteObjCPassingType(getCurScope(), DS,
905 TypeResult type = Actions.ActOnTypeName(getCurScope(), declarator);
920 Ty = Actions.ActOnObjCInstanceType(Tok.getLocation());
974 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus,
992 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus,
1019 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(),
1064 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1092 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1137 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl);
1155 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(),
1182 Actions.CodeCompleteObjCProtocolReferences(ProtocolIdents.data(),
1208 Actions.FindProtocolDeclaration(WarnOnDeclarations,
1279 Actions.CodeCompleteObjCAtVisibility(getCurScope());
1298 Actions.CodeCompleteOrdinaryName(getCurScope(),
1315 P.Actions.ActOnObjCContainerStartDefinition(IDecl);
1318 = P.Actions.ActOnIvar(P.getCurScope(),
1321 P.Actions.ActOnObjCContainerFinishDefinition();
1342 Actions.ActOnObjCContainerStartDefinition(interfaceDecl);
1343 Actions.ActOnLastBitfield(T.getCloseLocation(), AllIvarDecls);
1344 Actions.ActOnObjCContainerFinishDefinition();
1347 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl,
1377 Actions.CodeCompleteObjCProtocolDecl(getCurScope());
1393 return Actions.ActOnForwardProtocolDeclaration(AtLoc, &ProtoInfo, 1,
1422 return Actions.ActOnForwardProtocolDeclaration(AtLoc,
1439 Actions.ActOnStartProtocolInterface(AtLoc, protocolName, nameLoc,
1446 return Actions.ConvertDeclToDeclGroup(ProtoType);
1468 Actions.CodeCompleteObjCImplementationDecl(getCurScope());
1489 Actions.CodeCompleteObjCImplementationCategory(getCurScope(), nameId, nameLoc);
1507 ObjCImpDecl = Actions.ActOnStartCategoryImplementation(
1525 ObjCImpDecl = Actions.ActOnStartClassImplementation(
1549 return Actions.ActOnFinishObjCImplementation(ObjCImpDecl, DeclsInGroup);
1581 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl);
1586 P.Actions.ActOnAtEnd(P.getCurScope(), AtEnd);
1624 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc,
1646 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
1666 Actions.CodeCompleteObjCPropertySynthesizeIvar(getCurScope(), propertyId);
1678 Actions.ActOnPropertyImplDecl(getCurScope(), atLoc, propertyLoc, true,
1701 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
1714 Actions.ActOnPropertyImplDecl(getCurScope(), atLoc, propertyLoc, false,
1740 return Actions.ActOnObjCAtThrowStmt(atLoc, Res.take(), getCurScope());
1777 operand = Actions.ActOnObjCAtSynchronizedOperand(atLoc, operand.take());
1790 body = Actions.ActOnNullStmt(Tok.getLocation());
1792 return Actions.ActOnObjCAtSynchronizedStmt(atLoc, operand.get(), body.get());
1820 TryBody = Actions.ActOnNullStmt(Tok.getLocation());
1844 // Inform the actions module about the declarator, so it
1846 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl);
1863 CatchBody = Actions.ActOnNullStmt(Tok.getLocation());
1865 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc,
1889 FinallyBody = Actions.ActOnNullStmt(Tok.getLocation());
1890 FinallyStmt = Actions.ActOnObjCAtFinallyStmt(AtCatchFinallyLoc,
1901 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.take(),
1924 AutoreleasePoolBody = Actions.ActOnNullStmt(Tok.getLocation());
1925 return Actions.ActOnObjCAutoreleasePoolStmt(atLoc,
1971 PrettyDeclStackTraceEntry CrashInfo(Actions, MDecl, Tok.getLocation(),
2002 Actions.AddAnyMethodToGlobalPool(MDecl);
2012 Actions.CodeCompleteObjCAtStatement(getCurScope());
2040 return Actions.ActOnExprStmt(Res);
2046 Actions.CodeCompleteObjCAtExpression(getCurScope());
2067 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
2073 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take());
2078 Actions.BuildObjCNumericLiteral(AtLoc, Lit.take()));
2171 if (!Actions.isSimpleTypeSpecifier(Tok.getKind())) {
2220 TypeResult Type = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
2252 Type = Actions.getTypeName(*Tok.getIdentifierInfo(), Tok.getLocation(),
2284 Actions.CodeCompleteObjCMessageReceiver(getCurScope());
2325 switch (Actions.getObjCMessageKind(getCurScope(), Name, NameLoc,
2408 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, 0, 0,
2411 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType, 0, 0,
2414 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
2448 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
2453 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
2458 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
2482 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
2487 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
2492 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
2558 return Actions.ActOnSuperMessage(getCurScope(), SuperLoc, Sel,
2561 return Actions.ActOnClassMessage(getCurScope(), ReceiverType, Sel,
2563 return Actions.ActOnInstanceMessage(getCurScope(), ReceiverExpr, Sel,
2593 return Actions.ParseObjCStringLiteral(&AtLocs[0], AtStrings.data(),
2605 return Actions.ActOnObjCBoolLiteral(AtLoc, EndLoc, ArgValue);
2612 ExprResult Lit(Actions.ActOnCharacterConstant(Tok));
2617 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.take());
2626 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
2631 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.take());
2654 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.take());
2655 return Actions.BuildObjCBoxedExpr(SourceRange(AtLoc, RPLoc),
2676 Res = Actions.ActOnPackExpansion(Res.get(), ConsumeToken());
2689 return Actions.BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args);
2745 return Actions.BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc),
2770 return Actions.ParseObjCEncodeExpression(AtLoc, EncLoc, T.getOpenLocation(),
2794 return Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc,
2814 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents.data(),
2841 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents.data(),
2857 return Actions.ParseObjCSelectorExpression(Sel, AtLoc, SelectorLoc,
2866 ((parseMethod && !Actions.isObjCMethodDecl(MCDecl)) ||
2867 (!parseMethod && Actions.isObjCMethodDecl(MCDecl)));
2892 // Tell the actions module that we have entered a method or c-function definition
2895 Actions.ActOnStartOfObjCMethodDef(getCurScope(), MCDecl);
2897 Actions.ActOnStartOfFunctionDef(getCurScope(), MCDecl);