• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/

Lines Matching defs:Actions

52     Actions.CodeCompleteObjCAtDirective(getCurScope());
86 return Actions.ConvertDeclToDeclGroup(nullptr);
93 return Actions.ConvertDeclToDeclGroup(SingleDecl);
98 Sema &Actions;
103 ObjCTypeParamListScope(Sema &Actions, Scope *S)
104 : Actions(Actions), S(S), Params(nullptr) {}
117 Actions.popObjCTypeParamList(S, Params);
140 return Actions.ConvertDeclToDeclGroup(nullptr);
157 return Actions.ConvertDeclToDeclGroup(nullptr);
159 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(),
167 Sema::ObjCContainerKind ock = Actions.getObjCContainerKind();
171 Decl *Decl = Actions.getObjCDeclContext();
175 Actions.ActOnAtEnd(getCurScope(), AtLoc);
221 Actions.CodeCompleteObjCInterfaceDecl(getCurScope());
241 ObjCTypeParamListScope typeParamScope(Actions, getCurScope());
255 Actions.CodeCompleteObjCInterfaceCategory(getCurScope(), nameId, nameLoc);
285 Decl *CategoryType = Actions.ActOnStartCategoryInterface(
310 Actions.CodeCompleteObjCSuperclass(getCurScope(), nameId, nameLoc);
340 Actions.FindProtocolDeclaration(/*WarnOnDeclarations=*/true,
352 Actions.ActOnTypedefedProtocols(protocols, protocolLocs,
355 Decl *ClsType = Actions.ActOnStartClassInterface(
435 DeclResult typeParam = Actions.actOnObjCTypeParam(
474 Actions.CodeCompleteObjCProtocolReferences(protocolIdents);
513 DeclResult typeParam = Actions.actOnObjCTypeParam(
555 ObjCTypeParamList *list = Actions.actOnObjCTypeParamList(
575 ObjCTypeParamListScope Scope(Actions, getCurScope());
638 Actions.CodeCompleteOrdinaryName(getCurScope(),
671 Actions.CodeCompleteObjCAtDirective(getCurScope());
706 << (int)Actions.getObjCContainerKind();
761 Decl *Property = Actions.ActOnProperty(
780 Actions.CodeCompleteObjCAtDirective(getCurScope());
788 << (int)Actions.getObjCContainerKind();
795 Actions.ActOnAtEnd(getCurScope(), AtEnd, allMethods, allTUVariables);
849 Actions.CodeCompleteObjCPropertyFlags(getCurScope(), DS);
896 Actions.CodeCompleteObjCPropertySetter(getCurScope());
898 Actions.CodeCompleteObjCPropertyGetter(getCurScope());
1148 Actions.CodeCompleteObjCPassingType(getCurScope(), DS,
1277 TypeResult type = Actions.ActOnTypeName(getCurScope(), declarator);
1337 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus,
1357 Actions.CodeCompleteObjCMethodDecl(getCurScope(), mType == tok::minus,
1384 Decl *Result = Actions.ActOnMethodDeclaration(
1423 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1447 Actions.CodeCompleteObjCMethodDeclSelector(getCurScope(),
1490 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl);
1508 Decl *Result = Actions.ActOnMethodDeclaration(
1534 Actions.CodeCompleteObjCProtocolReferences(ProtocolIdents);
1558 Actions.FindProtocolDeclaration(WarnOnDeclarations, ForObjCContainer,
1573 TypeResult result = Actions.actOnObjCProtocolQualifierType(lAngleLoc,
1632 QualType BaseT = Actions.GetTypeFromParser(baseType);
1634 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Type);
1636 Actions.CodeCompleteObjCProtocolReferences(identifierLocPairs);
1655 Actions.actOnObjCTypeArgsOrProtocolQualifiers(getCurScope(),
1685 = Actions.getTypeName(*identifiers[i], identifierLocs[i], getCurScope());
1691 typeArg, Actions.getASTContext().getPrintingPolicy());
1695 TypeResult fullTypeArg = Actions.ActOnTypeName(getCurScope(), D);
1709 if (!Actions.LookupProtocol(identifiers[i], identifierLocs[i])) {
1728 typeArg = Actions.ActOnPackExpansion(typeArg.get(), ellipsisLoc);
1744 Actions.DiagnoseTypeArgsAndProtocols(foundProtocolId, foundProtocolSrcLoc,
1752 Actions.DiagnoseUnknownTypeName(unknownTypeArgs[i], unknownTypeArgsLoc[i],
1852 return Actions.actOnObjCTypeArgsAndProtocolQualifiers(
1872 Actions.ActOnObjCContainerStartDefinition(interfaceDecl);
1873 Actions.ActOnLastBitfield(T.getCloseLocation(), AllIvarDecls);
1874 Actions.ActOnObjCContainerFinishDefinition();
1877 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl, AllIvarDecls,
1927 Actions.CodeCompleteObjCAtVisibility(getCurScope());
1957 Actions.CodeCompleteOrdinaryName(getCurScope(),
1972 Actions.ActOnObjCContainerStartDefinition(interfaceDecl);
1975 Decl *Field = Actions.ActOnIvar(
1978 Actions.ActOnObjCContainerFinishDefinition();
2024 Actions.CodeCompleteObjCProtocolDecl(getCurScope());
2039 return Actions.ActOnForwardProtocolDeclaration(AtLoc, ProtoInfo, attrs);
2066 return Actions.ActOnForwardProtocolDeclaration(AtLoc, ProtocolRefs, attrs);
2080 Decl *ProtoType = Actions.ActOnStartProtocolInterface(
2085 return Actions.ConvertDeclToDeclGroup(ProtoType);
2108 Actions.CodeCompleteObjCImplementationDecl(getCurScope());
2128 ObjCTypeParamListScope typeParamScope(Actions, getCurScope());
2146 Actions.CodeCompleteObjCImplementationCategory(getCurScope(), nameId, nameLoc);
2176 ObjCImpDecl = Actions.ActOnStartCategoryImplementation(
2190 ObjCImpDecl = Actions.ActOnStartClassImplementation(
2224 return Actions.ActOnFinishObjCImplementation(ObjCImpDecl, DeclsInGroup);
2256 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl, AtEnd.getBegin());
2261 P.Actions.ActOnAtEnd(P.getCurScope(), AtEnd);
2294 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc,
2316 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
2334 Actions.CodeCompleteObjCPropertySynthesizeIvar(getCurScope(), propertyId);
2344 Actions.ActOnPropertyImplDecl(
2394 Actions.CodeCompleteObjCPropertyDefinition(getCurScope());
2406 Actions.ActOnPropertyImplDecl(
2435 return Actions.ActOnObjCAtThrowStmt(atLoc, Res.get(), getCurScope());
2472 operand = Actions.ActOnObjCAtSynchronizedOperand(atLoc, operand.get());
2485 body = Actions.ActOnNullStmt(Tok.getLocation());
2487 return Actions.ActOnObjCAtSynchronizedStmt(atLoc, operand.get(), body.get());
2515 TryBody = Actions.ActOnNullStmt(Tok.getLocation());
2543 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl);
2560 CatchBody = Actions.ActOnNullStmt(Tok.getLocation());
2562 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc,
2584 Actions.ActOnCapturedRegionStart(Tok.getLocation(), getCurScope(),
2594 FinallyBody = Actions.ActOnNullStmt(Tok.getLocation());
2596 Actions.ActOnCapturedRegionError();
2598 FinallyBody = Actions.ActOnCapturedRegionEnd(FinallyBody.get());
2601 FinallyStmt = Actions.ActOnObjCAtFinallyStmt(AtCatchFinallyLoc,
2612 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.get(),
2635 AutoreleasePoolBody = Actions.ActOnNullStmt(Tok.getLocation());
2636 return Actions.ActOnObjCAutoreleasePoolStmt(atLoc,
2643 if (SkipFunctionBodies && (!MDecl || Actions.canSkipFunctionBody(MDecl)) &&
2645 Actions.ActOnSkippedFunctionBody(MDecl);
2689 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, MDecl, Tok.getLocation(),
2720 Actions.AddAnyMethodToGlobalPool(MDecl);
2731 Actions.CodeCompleteObjCAtStatement(getCurScope());
2751 return Actions.ActOnNullStmt(Tok.getLocation());
2772 Actions.CodeCompleteObjCAtExpression(getCurScope());
2793 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
2799 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get());
2804 Actions.BuildObjCNumericLiteral(AtLoc, Lit.get()));
2903 if (!Actions.isSimpleTypeSpecifier(Tok.getKind())) {
2909 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression());
2955 TypeResult Type = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
2986 Type = Actions.getTypeName(*Tok.getIdentifierInfo(), Tok.getLocation(),
3018 Actions.CodeCompleteObjCMessageReceiver(getCurScope());
3058 switch (Actions.getObjCMessageKind(getCurScope(), Name, NameLoc,
3099 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression());
3156 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc, None,
3159 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType, None,
3162 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
3194 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
3198 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
3202 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
3232 Actions.CodeCompleteObjCSuperMessage(getCurScope(), SuperLoc,
3236 Actions.CodeCompleteObjCClassMessage(getCurScope(), ReceiverType,
3240 Actions.CodeCompleteObjCInstanceMessage(getCurScope(), ReceiverExpr,
3259 Res = Actions.CorrectDelayedTyposInExpr(Res);
3305 return Actions.ActOnSuperMessage(getCurScope(), SuperLoc, Sel,
3308 return Actions.ActOnClassMessage(getCurScope(), ReceiverType, Sel,
3310 return Actions.ActOnInstanceMessage(getCurScope(), ReceiverExpr, Sel,
3340 return Actions.ParseObjCStringLiteral(AtLocs.data(), AtStrings);
3351 return Actions.ActOnObjCBoolLiteral(AtLoc, EndLoc, ArgValue);
3358 ExprResult Lit(Actions.ActOnCharacterConstant(Tok));
3363 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.get());
3372 ExprResult Lit(Actions.ActOnNumericConstant(Tok));
3377 return Actions.BuildObjCNumericLiteral(AtLoc, Lit.get());
3400 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get());
3401 return Actions.BuildObjCBoxedExpr(SourceRange(AtLoc, RPLoc),
3421 Res = Actions.CorrectDelayedTyposInExpr(Res.get());
3427 Res = Actions.ActOnPackExpansion(Res.get(), ConsumeToken());
3445 return Actions.BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args);
3482 KeyExpr = Actions.CorrectDelayedTyposInExpr(KeyExpr.get());
3483 ValueExpr = Actions.CorrectDelayedTyposInExpr(ValueExpr.get());
3511 return Actions.BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc),
3536 return Actions.ParseObjCEncodeExpression(AtLoc, EncLoc, T.getOpenLocation(),
3560 return Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc,
3583 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents);
3609 Actions.CodeCompleteObjCSelector(getCurScope(), KeyIdents);
3626 return Actions.ParseObjCSelectorExpression(Sel, AtLoc, SelectorLoc,
3636 ((parseMethod && !Actions.isObjCMethodDecl(MCDecl)) ||
3637 (!parseMethod && Actions.isObjCMethodDecl(MCDecl)));
3671 Actions.ActOnStartOfObjCMethodDef(getCurScope(), MCDecl);
3673 Actions.ActOnStartOfFunctionDef(getCurScope(), MCDecl);
3680 Actions.ActOnDefaultCtorInitializers(MCDecl);