Lines Matching refs:Actions
64 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
528 Actions.getASTContext(),
534 Actions.getASTContext(),
540 Actions.getASTContext(),
546 Actions.getASTContext(),
552 Actions.getASTContext(),
558 Actions.getASTContext(),
564 Actions.getASTContext(),
880 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate);
890 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(),
899 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(),
952 Sema::CXXThisScopeRAII ThisScope(Actions, RD,
961 Actions.ActOnReenterTemplateScope(Actions.CurScope, D);
967 Actions.ActOnReenterFunctionContext(Actions.CurScope, D);
973 Actions.ActOnExitFunctionContext();
990 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs);
1056 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated);
1275 return Actions.ConvertDeclToDeclGroup(SingleDecl, OwnedType);
1311 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
1314 return Actions.ConvertDeclToDeclGroup(TheDecl);
1508 return Actions.ConvertDeclToDeclGroup(TheDecl);
1536 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D);
1537 Actions.ActOnCXXForRangeDecl(ThisDecl);
1538 Actions.FinalizeDeclaration(ThisDecl);
1540 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, &ThisDecl, 1);
1607 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS,
1664 // Inform the current actions module that we just parsed this declarator.
1668 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D);
1673 ThisDecl = Actions.ActOnTemplateDeclarator(getCurScope(),
1680 = Actions.ActOnExplicitInstantiation(getCurScope(),
1716 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl);
1720 Actions.CodeCompleteInitializer(getCurScope(), ThisDecl);
1721 Actions.FinalizeDeclaration(ThisDecl);
1729 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
1735 Actions.ActOnInitializerError(ThisDecl);
1737 Actions.AddInitializerToDecl(ThisDecl, Init.take(),
1750 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl);
1754 Actions.ActOnInitializerError(ThisDecl);
1758 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
1769 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
1773 ExprResult Initializer = Actions.ActOnParenListExpr(T.getOpenLocation(),
1776 Actions.AddInitializerToDecl(ThisDecl, Initializer.take(),
1786 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl);
1792 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
1797 Actions.ActOnInitializerError(ThisDecl);
1799 Actions.AddInitializerToDecl(ThisDecl, Init.take(),
1803 Actions.ActOnUninitializedDecl(ThisDecl, TypeContainsAuto);
1806 Actions.FinalizeDeclaration(ThisDecl);
1951 switch (Actions.isTagName(*Tok.getIdentifierInfo(), getCurScope())) {
1968 LookupResult R(Actions, TokenName, SourceLocation(),
1975 if (Actions.LookupParsedName(R, getCurScope(), SS)) {
2040 if (Actions.DiagnoseUnknownTypeName(II, Loc, getCurScope(), SS, T)) {
2111 ER = Actions.ActOnUnaryExprOrTypeTraitExpr(TypeLoc, UETT_AlignOf, true,
2253 Actions.CodeCompleteDeclSpec(getCurScope(), DS,
2269 Actions.CodeCompleteOrdinaryName(getCurScope(), CCC);
2289 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(),
2322 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS)) {
2371 Actions.isCurrentClassName(*Next.getIdentifierInfo(), getCurScope(),
2386 ParsedType TypeRep = Actions.getTypeName(*Next.getIdentifierInfo(),
2496 Actions.getTypeName(*Tok.getIdentifierInfo(),
2516 Actions.isCurrentClassName(*Tok.getIdentifierInfo(), getCurScope()) &&
2552 Actions.isCurrentClassName(*TemplateId->Name, getCurScope()) &&
2607 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_typedef, Loc,
2613 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_extern, Loc,
2617 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_private_extern,
2623 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_static, Loc,
2629 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc,
2638 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc,
2642 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_register, Loc,
2646 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_mutable, Loc,
2992 // specifier. Let the actions module cope with it.
2994 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
3058 PrettyDeclStackTraceEntry CrashInfo(Actions, TagDecl, RecordLoc,
3066 Actions.ActOnTagStartDefinition(getCurScope(), TagDecl);
3099 Decl *Field = P.Actions.ActOnField(P.getCurScope(), TagDecl,
3125 Actions.ActOnDefs(getCurScope(), TagDecl, Tok.getLocation(),
3152 Actions.ActOnFields(getCurScope(),
3157 Actions.ActOnTagFinishDefinition(getCurScope(), TagDecl,
3197 Actions.CodeCompleteTag(getCurScope(), DeclSpec::TST_enum);
3315 EnterExpressionEvaluationContext Unevaluated(Actions,
3458 Decl *TagDecl = Actions.ActOnTag(getCurScope(), DeclSpec::TST_enum, TUK,
3473 TypeResult Type = Actions.ActOnDependentTag(getCurScope(), DeclSpec::TST_enum,
3523 Actions.ActOnTagStartDefinition(getCurScope(), EnumDecl);
3559 Decl *EnumConstDecl = Actions.ActOnEnumConstant(getCurScope(), EnumDecl,
3600 Actions.ActOnEnumBody(StartLoc, T.getOpenLocation(), T.getCloseLocation(),
3606 Actions.ActOnTagFinishDefinition(getCurScope(), EnumDecl,
4037 if (SS.isSet() && Actions.ShouldEnterDeclaratorScope(getCurScope(), SS))
4120 Actions.CodeCompleteTypeQualifiers(DS);
4446 if (Actions.ShouldEnterDeclaratorScope(getCurScope(), D.getCXXScopeSpec()))
4464 !Actions.containsUnexpandedParameterPacks(D))) {
4537 Actions.ShouldEnterDeclaratorScope(getCurScope(), D.getCXXScopeSpec()))
4772 Actions.ActOnStartFunctionDeclarator();
4843 Actions.CurContext->isRecord());
4844 Sema::CXXThisScopeRAII ThisScope(Actions,
4845 dyn_cast<CXXRecordDecl>(Actions.CurContext),
4898 Actions.ActOnEndFunctionDeclarator();
4963 if (Actions.getTypeName(*ParmII, Tok.getLocation(), getCurScope()))
5077 // Inform the actions module about the parameter declarator, so it gets
5079 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl);
5101 Actions.ActOnParamDefaultArgumentError(Param);
5110 Actions.ActOnParamUnparsedDefaultArgument(Param, EqualLoc,
5119 EnterExpressionEvaluationContext Eval(Actions,
5130 Actions.ActOnParamDefaultArgumentError(Param);
5133 // Inform the actions module about the default argument
5134 Actions.ActOnParamDefaultArgument(Param, EqualLoc,
5198 ExprResult ExprRes(Actions.ActOnNumericConstant(Tok, getCurScope()));
5256 EnterExpressionEvaluationContext Unevaluated(Actions,
5296 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated,
5335 Operand = Actions.HandleExprEvaluationContextForTypeof(Operand.get());