Home | History | Annotate | Download | only in Parse

Lines Matching refs:Actions

51     Actions.CodeCompleteObjCAtDirective(getCurScope());
87 return Actions.ConvertDeclToDeclGroup(nullptr);
94 return Actions.ConvertDeclToDeclGroup(SingleDecl);
99 Sema &Actions;
103 ObjCTypeParamListScope(Sema &Actions, Scope *S)
104 : Actions(Actions), S(S), Params(nullptr) {}
114 Actions.popObjCTypeParamList(S, Params);
138 return Actions.ConvertDeclToDeclGroup(nullptr);
155 return Actions.ConvertDeclToDeclGroup(nullptr);
157 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(),
165 Sema::ObjCContainerKind ock = Actions.getObjCContainerKind();
169 Decl *Decl = Actions.getObjCDeclContext();
173 Actions.ActOnAtEnd(getCurScope(), AtLoc);
220 Actions.CodeCompleteObjCInterfaceDecl(getCurScope());
243 ObjCTypeParamListScope typeParamScope(Actions, getCurScope());
257 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc);
293 Actions.ActOnStartCategoryInterface(AtLoc,
322 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc);
358 Actions.FindProtocolDeclaration(/*WarnOnDeclarations=*/true,
370 Actions.ActOnTypedefedProtocols(protocols, superClassId, superClassLoc);
373 Actions.ActOnStartClassInterface(getCurScope(), AtLoc, nameId, nameLoc,
461 DeclResult typeParam = Actions.actOnObjCTypeParam(
506 Actions.CodeCompleteObjCProtocolReferences(protocolIdents.data(),
546 DeclResult typeParam = Actions.actOnObjCTypeParam(getCurScope(),
595 ObjCTypeParamList *list = Actions.actOnObjCTypeParamList(
615 ObjCTypeParamListScope Scope(Actions, getCurScope());
676 Actions.CodeCompleteOrdinaryName(getCurScope(),
697 Actions.CodeCompleteObjCAtDirective(getCurScope());
732 << (int) Actions.getObjCContainerKind();
791 Decl *Property = Actions.ActOnProperty(
810 Actions.CodeCompleteObjCAtDirective(getCurScope());
818 << (int) Actions.getObjCContainerKind();
825 Actions.ActOnAtEnd(getCurScope(), AtEnd, allMethods, allTUVariables);
877 Actions.CodeCompleteObjCPropertyFlags(getCurScope(), DS);
924 Actions.CodeCompleteObjCPropertySetter(getCurScope());
926 Actions.CodeCompleteObjCPropertyGetter(getCurScope());
1168 Actions.CodeCompleteObjCPassingType(getCurScope(), DS,
1305 TypeResult type = Actions.ActOnTypeName(getCurScope(), declarator);
1365 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus,
1384 Actions
1411 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(),
1453 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1480 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1523 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl);
1541 = Actions.ActOnMethodDeclaration(getCurScope(), mLoc, Tok.getLocation(),
1569 Actions.CodeCompleteObjCProtocolReferences(ProtocolIdents.data(),
1595 Actions.FindProtocolDeclaration(WarnOnDeclarations, ForObjCContainer,
1610 TypeResult result = Actions.actOnObjCProtocolQualifierType(lAngleLoc,
1669 QualType BaseT = Actions.GetTypeFromParser(baseType);
1671 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Type);
1673 Actions.CodeCompleteObjCProtocolReferences(identifierLocPairs.data(),
1693 Actions.actOnObjCTypeArgsOrProtocolQualifiers(getCurScope(),
1716 = Actions.getTypeName(*identifiers[i], identifierLocs[i], getCurScope());
1722 typeArg, Actions.getASTContext().getPrintingPolicy());
1726 TypeResult fullTypeArg = Actions.ActOnTypeName(getCurScope(), D);
1744 typeArg = Actions.ActOnPackExpansion(typeArg.get(), ellipsisLoc);
1846 return Actions.actOnObjCTypeArgsAndProtocolQualifiers(
1866 Actions.ActOnObjCContainerStartDefinition(interfaceDecl);
1867 Actions.ActOnLastBitfield(T.getCloseLocation(), AllIvarDecls);
1868 Actions.ActOnObjCContainerFinishDefinition();
1871 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl,
1920 Actions.CodeCompleteObjCAtVisibility(getCurScope());
1950 Actions.CodeCompleteOrdinaryName(getCurScope(),
1956 Actions.ActOnObjCContainerStartDefinition(interfaceDecl);
1959 Decl *Field = Actions.ActOnIvar(
1962 Actions.ActOnObjCContainerFinishDefinition();
2009 Actions.CodeCompleteObjCProtocolDecl(getCurScope());
2026 return Actions.ActOnForwardProtocolDeclaration(AtLoc, ProtoInfo,
2055 return Actions.ActOnForwardProtocolDeclaration(AtLoc, ProtocolRefs,
2071 Actions.ActOnStartProtocolInterface(AtLoc, protocolName, nameLoc,
2078 return Actions.ConvertDeclToDeclGroup(ProtoType);
2100 Actions.CodeCompleteObjCImplementationDecl(getCurScope());
2123 ObjCTypeParamListScope typeParamScope(Actions, getCurScope());
2141 Actions.CodeCompleteObjCImplementationCategory(getCurScope(), nameId, nameLoc);
2171 ObjCImpDecl = Actions.ActOnStartCategoryImplementation(
2189 ObjCImpDecl = Actions.ActOnStartClassImplementation(
2225 return Actions.ActOnFinishObjCImplementation(ObjCImpDecl, DeclsInGroup);
2257 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl);
2262 P.Actions.ActOnAtEnd(P.getCurScope(), AtEnd);
2299 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc,
2321 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
2339 Actions.CodeCompleteObjCPropertySynthesizeIvar(getCurScope(), propertyId);
2351 Actions.ActOnPropertyImplDecl(getCurScope(), atLoc, propertyLoc, true,
2374 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
2387 Actions.ActOnPropertyImplDecl(getCurScope(), atLoc, propertyLoc, false,
2413 return Actions.ActOnObjCAtThrowStmt(atLoc, Res.get(), getCurScope());
2450 operand = Actions.ActOnObjCAtSynchronizedOperand(atLoc, operand.get());
2463 body = Actions.ActOnNullStmt(Tok.getLocation());
2465 return Actions.ActOnObjCAtSynchronizedStmt(atLoc, operand.get(), body.get());
2493 TryBody = Actions.ActOnNullStmt(Tok.getLocation());
2517 // Inform the actions module about the declarator, so it
2519 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl);
2536 CatchBody = Actions.ActOnNullStmt(Tok.getLocation());
2538 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc,
2562 FinallyBody = Actions.ActOnNullStmt(Tok.getLocation());
2563 FinallyStmt = Actions.ActOnObjCAtFinallyStmt(AtCatchFinallyLoc,
2574 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.get(),
2597 AutoreleasePoolBody = Actions.ActOnNullStmt(Tok.getLocation());
2598 return Actions.ActOnObjCAutoreleasePoolStmt(atLoc,
2645 PrettyDeclStackTraceEntry CrashInfo(Actions, MDecl, Tok.getLocation(),
2676 Actions.AddAnyMethodToGlobalPool(MDecl);
2686 Actions.CodeCompleteObjCAtStatement(getCurScope());
2706 return Actions.ActOnNullStmt(Tok.getLocation());
2720 return Actions.ActOnExprStmt(Res);
2726 Actions.CodeCompleteObjCAtExpression(getCurScope());
2747 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
2753 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get());
2758 Actions.BuildObjCNumericLiteral(AtLoc, Lit.get()));
2851 if (!Actions.isSimpleTypeSpecifier(Tok.getKind())) {
2857 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression());
2903 TypeResult Type = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
2935 Type = Actions.getTypeName(*Tok.getIdentifierInfo(), Tok.getLocation(),
2967 Actions.CodeCompleteObjCMessageReceiver(getCurScope());
3008 switch (Actions.getObjCMessageKind(getCurScope(), Name, NameLoc,
3049 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression());
3106 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, None,
3109 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType, None,
3112 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
3144 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
3148 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
3152 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
3182 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
3186 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
3190 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
3209 Res = Actions.CorrectDelayedTyposInExpr(Res);
3255 return Actions.ActOnSuperMessage(getCurScope(), SuperLoc, Sel,
3258 return Actions.ActOnClassMessage(getCurScope(), ReceiverType, Sel,
3260 return Actions.ActOnInstanceMessage(getCurScope(), ReceiverExpr, Sel,
3290 return Actions.ParseObjCStringLiteral(&AtLocs[0], AtStrings.data(),
3302 return Actions.ActOnObjCBoolLiteral(AtLoc, EndLoc, ArgValue);
3309 ExprResult Lit(Actions.ActOnCharacterConstant(Tok));
3314 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.get());
3323 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
3328 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.get());
3351 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get());
3352 return Actions.BuildObjCBoxedExpr(SourceRange(AtLoc, RPLoc),
3373 Res = Actions.ActOnPackExpansion(Res.get(), ConsumeToken());
3387 return Actions.BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args);
3441 return Actions.BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc),
3466 return Actions.ParseObjCEncodeExpression(AtLoc, EncLoc, T.getOpenLocation(),
3490 return Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc,
3513 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents);
3539 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents);
3556 return Actions.ParseObjCSelectorExpression(Sel, AtLoc, SelectorLoc,
3566 ((parseMethod && !Actions.isObjCMethodDecl(MCDecl)) ||
3567 (!parseMethod && Actions.isObjCMethodDecl(MCDecl)));
3591 // Tell the actions module that we have entered a method or c-function definition
3594 Actions.ActOnStartOfObjCMethodDef(getCurScope(), MCDecl);
3596 Actions.ActOnStartOfFunctionDef(getCurScope(), MCDecl);