Lines Matching refs:Actions
50 Actions.CodeCompleteObjCAtDirective(getCurScope());
93 return Actions.ConvertDeclToDeclGroup(SingleDecl);
112 return Actions.ConvertDeclToDeclGroup(0);
126 return Actions.ConvertDeclToDeclGroup(0);
128 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(),
135 Sema::ObjCContainerKind ock = Actions.getObjCContainerKind();
139 Decl *Decl = Actions.getObjCDeclContext();
143 Actions.ActOnAtEnd(getCurScope(), AtLoc);
190 Actions.CodeCompleteObjCInterfaceDecl(getCurScope());
214 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc);
248 Actions.ActOnStartCategoryInterface(AtLoc,
271 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc);
293 Actions.ActOnStartClassInterface(AtLoc, nameId, nameLoc,
357 P.Actions.ActOnProperty(P.getCurScope(), AtLoc, LParenLoc,
428 Actions.CodeCompleteOrdinaryName(getCurScope(),
449 Actions.CodeCompleteObjCAtDirective(getCurScope());
484 << (int) Actions.getObjCContainerKind();
525 Actions.CodeCompleteObjCAtDirective(getCurScope());
533 << (int) Actions.getObjCContainerKind();
540 Actions.ActOnAtEnd(getCurScope(), AtEnd, allMethods, allTUVariables);
570 Actions.CodeCompleteObjCPropertyFlags(getCurScope(), DS);
615 Actions.CodeCompleteObjCPropertySetter(getCurScope());
617 Actions.CodeCompleteObjCPropertyGetter(getCurScope());
816 Actions.CodeCompleteObjCPassingType(getCurScope(), DS,
918 TypeResult type = Actions.ActOnTypeName(getCurScope(), declarator);
933 Ty = Actions.ActOnObjCInstanceType(Tok.getLocation());
987 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus,
1005 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus,
1032 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(),
1077 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1103 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1146 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl);
1164 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(),
1191 Actions.CodeCompleteObjCProtocolReferences(ProtocolIdents.data(),
1217 Actions.FindProtocolDeclaration(WarnOnDeclarations,
1247 Actions.ActOnObjCContainerStartDefinition(interfaceDecl);
1248 Actions.ActOnLastBitfield(T.getCloseLocation(), AllIvarDecls);
1249 Actions.ActOnObjCContainerFinishDefinition();
1252 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl,
1303 Actions.CodeCompleteObjCAtVisibility(getCurScope());
1333 Actions.CodeCompleteOrdinaryName(getCurScope(),
1350 P.Actions.ActOnObjCContainerStartDefinition(IDecl);
1353 = P.Actions.ActOnIvar(P.getCurScope(),
1356 P.Actions.ActOnObjCContainerFinishDefinition();
1404 Actions.CodeCompleteObjCProtocolDecl(getCurScope());
1422 return Actions.ActOnForwardProtocolDeclaration(AtLoc, &ProtoInfo, 1,
1451 return Actions.ActOnForwardProtocolDeclaration(AtLoc,
1468 Actions.ActOnStartProtocolInterface(AtLoc, protocolName, nameLoc,
1475 return Actions.ConvertDeclToDeclGroup(ProtoType);
1497 Actions.CodeCompleteObjCImplementationDecl(getCurScope());
1520 Actions.CodeCompleteObjCImplementationCategory(getCurScope(), nameId, nameLoc);
1544 ObjCImpDecl = Actions.ActOnStartCategoryImplementation(
1562 ObjCImpDecl = Actions.ActOnStartClassImplementation(
1593 return Actions.ActOnFinishObjCImplementation(ObjCImpDecl, DeclsInGroup);
1625 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl);
1630 P.Actions.ActOnAtEnd(P.getCurScope(), AtEnd);
1668 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc,
1690 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
1710 Actions.CodeCompleteObjCPropertySynthesizeIvar(getCurScope(), propertyId);
1722 Actions.ActOnPropertyImplDecl(getCurScope(), atLoc, propertyLoc, true,
1745 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
1758 Actions.ActOnPropertyImplDecl(getCurScope(), atLoc, propertyLoc, false,
1784 return Actions.ActOnObjCAtThrowStmt(atLoc, Res.take(), getCurScope());
1821 operand = Actions.ActOnObjCAtSynchronizedOperand(atLoc, operand.take());
1834 body = Actions.ActOnNullStmt(Tok.getLocation());
1836 return Actions.ActOnObjCAtSynchronizedStmt(atLoc, operand.get(), body.get());
1864 TryBody = Actions.ActOnNullStmt(Tok.getLocation());
1888 // Inform the actions module about the declarator, so it
1890 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl);
1907 CatchBody = Actions.ActOnNullStmt(Tok.getLocation());
1909 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc,
1933 FinallyBody = Actions.ActOnNullStmt(Tok.getLocation());
1934 FinallyStmt = Actions
1945 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.take(),
1968 AutoreleasePoolBody = Actions.ActOnNullStmt(Tok.getLocation());
1969 return Actions.ActOnObjCAutoreleasePoolStmt(atLoc,
2015 PrettyDeclStackTraceEntry CrashInfo(Actions, MDecl, Tok.getLocation(),
2046 Actions.AddAnyMethodToGlobalPool(MDecl);
2056 Actions.CodeCompleteObjCAtStatement(getCurScope());
2084 return Actions.ActOnExprStmt(Res);
2090 Actions.CodeCompleteObjCAtExpression(getCurScope());
2111 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
2117 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take());
2122 Actions.BuildObjCNumericLiteral(AtLoc, Lit.take()));
2215 if (!Actions.isSimpleTypeSpecifier(Tok.getKind())) {
2264 TypeResult Type = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
2296 Type = Actions.getTypeName(*Tok.getIdentifierInfo(), Tok.getLocation(),
2328 Actions.CodeCompleteObjCMessageReceiver(getCurScope());
2369 switch (Actions.getObjCMessageKind(getCurScope(), Name, NameLoc,
2452 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, None,
2455 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType, None,
2458 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
2492 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
2496 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
2500 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
2530 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
2534 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
2538 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
2603 return Actions.ActOnSuperMessage(getCurScope(), SuperLoc, Sel,
2606 return Actions.ActOnClassMessage(getCurScope(), ReceiverType, Sel,
2608 return Actions.ActOnInstanceMessage(getCurScope(), ReceiverExpr, Sel,
2638 return Actions.ParseObjCStringLiteral(&AtLocs[0], AtStrings.data(),
2650 return Actions.ActOnObjCBoolLiteral(AtLoc, EndLoc, ArgValue);
2657 ExprResult Lit(Actions.ActOnCharacterConstant(Tok));
2662 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.take());
2671 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
2676 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.take());
2699 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.take());
2700 return Actions.BuildObjCBoxedExpr(SourceRange(AtLoc, RPLoc),
2721 Res = Actions.ActOnPackExpansion(Res.get(), ConsumeToken());
2734 return Actions.BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args);
2792 return Actions.BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc),
2817 return Actions.ParseObjCEncodeExpression(AtLoc, EncLoc, T.getOpenLocation(),
2841 return Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc,
2861 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents);
2887 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents);
2902 return Actions.ParseObjCSelectorExpression(Sel, AtLoc, SelectorLoc,
2911 ((parseMethod && !Actions.isObjCMethodDecl(MCDecl)) ||
2912 (!parseMethod && Actions.isObjCMethodDecl(MCDecl)));
2937 // Tell the actions module that we have entered a method or c-function definition
2940 Actions.ActOnStartOfObjCMethodDef(getCurScope(), MCDecl);
2942 Actions.ActOnStartOfFunctionDef(getCurScope(), MCDecl);