Lines Matching refs:Actions
69 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
234 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context,
306 new EnterExpressionEvaluationContext(Actions, Sema::Unevaluated));
309 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()));
377 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param);
1134 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate);
1144 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(),
1153 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(),
1203 Sema::CXXThisScopeRAII ThisScope(Actions, RD, /*TypeQuals=*/0,
1211 Actions.ActOnReenterTemplateScope(Actions.CurScope, D);
1217 Actions.ActOnReenterFunctionContext(Actions.CurScope, D);
1224 Actions.ActOnExitFunctionContext();
1248 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs);
1491 return Actions.ConvertDeclToDeclGroup(SingleDecl, OwnedType);
1533 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
1536 return Actions.ConvertDeclToDeclGroup(TheDecl);
1756 return Actions.ConvertDeclToDeclGroup(TheDecl);
1799 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D);
1801 Actions.ActOnCXXForRangeDecl(ThisDecl);
1802 Actions.FinalizeDeclaration(ThisDecl);
1804 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, ThisDecl);
1874 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup);
1929 // Inform the current actions module that we just parsed this declarator.
1933 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D);
1938 ThisDecl = Actions.ActOnTemplateDeclarator(getCurScope(),
1949 DeclResult ThisRes = Actions.ActOnExplicitInstantiation(
1965 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D);
1976 FakedParamLists.push_back(Actions.ActOnTemplateParameterList(
1981 Actions.ActOnTemplateDeclarator(getCurScope(), FakedParamLists, D);
2010 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl);
2014 Actions.CodeCompleteInitializer(getCurScope(), ThisDecl);
2015 Actions.FinalizeDeclaration(ThisDecl);
2035 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
2045 Actions.ActOnInitializerError(ThisDecl);
2047 Actions.AddInitializerToDecl(ThisDecl, Init.get(),
2060 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl);
2064 Actions.CodeCompleteConstructor(getCurScope(),
2068 Actions.ActOnInitializerError(ThisDecl);
2072 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
2083 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
2087 ExprResult Initializer = Actions.ActOnParenListExpr(T.getOpenLocation(),
2090 Actions.AddInitializerToDecl(ThisDecl, Initializer.get(),
2100 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl);
2106 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl);
2111 Actions.ActOnInitializerError(ThisDecl);
2113 Actions.AddInitializerToDecl(ThisDecl, Init.get(),
2117 Actions.ActOnUninitializedDecl(ThisDecl, TypeContainsAuto);
2120 Actions.FinalizeDeclaration(ThisDecl);
2263 switch (Actions.isTagName(*Tok.getIdentifierInfo(), getCurScope())) {
2280 LookupResult R(Actions, TokenName, SourceLocation(),
2287 if (Actions.LookupParsedName(R, getCurScope(), SS)) {
2333 if (Actions.isCurrentClassNameTypo(II, SS)) {
2366 Actions.DiagnoseUnknownTypeName(II, Loc, getCurScope(), SS, T,
2376 Actions.getASTContext().getPrintingPolicy());
2436 ER = Actions.ActOnUnaryExprOrTypeTraitExpr(TypeLoc, UETT_AlignOf, true,
2538 Actions.RestoreNestedNameSpecifierAnnotation(
2541 Sema::NameClassification Classification = Actions.ClassifyName(
2573 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy();
2635 const PrintingPolicy &Policy = Actions.getPrintingPolicy();
2672 DS.Finish(Actions, Policy);
2704 Actions.CodeCompleteDeclSpec(getCurScope(), DS,
2720 Actions.CodeCompleteOrdinaryName(getCurScope(), CCC);
2740 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(),
2773 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS)) {
2822 Actions.isCurrentClassName(*Next.getIdentifierInfo(), getCurScope(),
2838 ParsedType TypeRep = Actions.getTypeName(*Next.getIdentifierInfo(),
2945 ParsedType TypeRep = Actions.ActOnObjCInstanceType(Loc);
2958 Actions.getTypeName(*Tok.getIdentifierInfo(),
2967 TypeRep = Actions.ActOnDelayedDefaultTemplateArg(
2988 Actions.isCurrentClassName(*Tok.getIdentifierInfo(), getCurScope()) &&
3032 Actions.isCurrentClassName(*TemplateId->Name, getCurScope()) &&
3102 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_typedef, Loc,
3109 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_extern, Loc,
3114 isInvalid = DS.SetStorageClassSpec(Actions
3121 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_static, Loc,
3128 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc,
3137 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc,
3147 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_register, Loc,
3152 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_mutable, Loc,
3418 if (Actions.getLangOpts().OpenCLVersion < 200) {
3447 Actions.getASTContext().getPrintingPolicy()))
3513 // specifier. Let the actions module cope with it.
3515 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
3576 PrettyDeclStackTraceEntry CrashInfo(Actions, TagDecl, RecordLoc,
3585 Actions.ActOnTagStartDefinition(getCurScope(), TagDecl);
3629 Actions.ActOnField(getCurScope(), TagDecl,
3654 Actions.ActOnDefs(getCurScope(), TagDecl, Tok.getLocation(),
3682 Actions.ActOnFields(getCurScope(),
3687 Actions.ActOnTagFinishDefinition(getCurScope(), TagDecl,
3727 Actions.CodeCompleteTag(getCurScope(), DeclSpec::TST_enum);
3844 EnterExpressionEvaluationContext Unevaluated(Actions,
3987 SkipBody = Actions.shouldSkipAnonEnumBody(getCurScope(),
3995 Decl *TagDecl = Actions.ActOnTag(getCurScope(), DeclSpec::TST_enum, TUK,
4012 Actions.getASTContext().getPrintingPolicy()))
4026 TypeResult Type = Actions.ActOnDependentTag(
4036 Actions.getASTContext().getPrintingPolicy()))
4060 Actions.getASTContext().getPrintingPolicy()))
4077 Actions.ActOnTagStartDefinition(getCurScope(), EnumDecl);
4127 Decl *EnumConstDecl = Actions.ActOnEnumConstant(getCurScope(), EnumDecl,
4183 Actions.ActOnEnumBody(StartLoc, T.getOpenLocation(), T.getCloseLocation(),
4197 Actions.ActOnTagFinishDefinition(getCurScope(), EnumDecl,
4621 if (SS.isSet() && Actions.ShouldEnterDeclaratorScope(getCurScope(), SS))
4727 Actions.CodeCompleteTypeQualifiers(DS);
4822 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy());
5120 if (Actions.ShouldEnterDeclaratorScope(getCurScope(),
5140 !Actions.containsUnexpandedParameterPacks(D) &&
5190 Actions.ShouldEnterDeclaratorScope(getCurScope(),
5244 Actions.ShouldEnterDeclaratorScope(getCurScope(),
5563 Actions.CurContext->isRecord());
5564 Sema::CXXThisScopeRAII ThisScope(Actions,
5565 dyn_cast<CXXRecordDecl>(Actions.CurContext),
5575 if (Delayed && Actions.isLibstdcxxEagerExceptionSpecHack(D) &&
5721 if (Actions.getTypeName(*ParmII, Tok.getLocation(), getCurScope()))
5838 !Actions.isUnexpandedParameterPackPermitted())) &&
5839 Actions.containsUnexpandedParameterPacks(ParmDeclarator))
5842 // Inform the actions module about the parameter declarator, so it gets
5844 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator);
5864 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc);
5866 Actions.ActOnParamUnparsedDefaultArgument(Param, EqualLoc,
5875 EnterExpressionEvaluationContext Eval(Actions,
5885 DefArgResult = Actions.CorrectDelayedTyposInExpr(DefArgResult);
5887 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc);
5890 // Inform the actions module about the default argument
5891 Actions.ActOnParamDefaultArgument(Param, EqualLoc,
5909 Actions.containsUnexpandedParameterPacks(ParmDeclarator)) {
5967 ExprResult ExprRes(Actions.ActOnNumericConstant(Tok, getCurScope()));
6024 EnterExpressionEvaluationContext Unevaluated(Actions,
6027 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression());
6160 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated,
6166 ExprResult Operand = Actions.CorrectDelayedTyposInExpr(
6188 Actions.getASTContext().getPrintingPolicy()))
6200 Operand = Actions.HandleExprEvaluationContextForTypeof(Operand.get());
6211 Actions.getASTContext().getPrintingPolicy()))
6246 Actions.getASTContext().getPrintingPolicy()))
6286 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy();