• Home
  • Raw
  • Download

Lines Matching refs:Actions

70   return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);  in ParseTypeName()
235 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
307 new EnterExpressionEvaluationContext(Actions, Sema::Unevaluated)); in ParseAttributeArgsCommon()
310 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseAttributeArgsCommon()
378 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs()
1165 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes()
1175 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes()
1184 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes()
1234 Sema::CXXThisScopeRAII ThisScope(Actions, RD, /*TypeQuals=*/0, in ParseLexedAttribute()
1242 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute()
1248 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
1255 Actions.ActOnExitFunctionContext(); in ParseLexedAttribute()
1279 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs); in ParseLexedAttribute()
1522 return Actions.ConvertDeclToDeclGroup(SingleDecl, OwnedType); in ParseDeclaration()
1565 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration()
1570 return Actions.BuildDeclaratorGroup(decls, /*TypeMayContainAuto=*/false); in ParseSimpleDeclaration()
1572 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1792 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
1835 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup()
1837 Actions.ActOnCXXForRangeDecl(ThisDecl); in ParseDeclGroup()
1838 Actions.FinalizeDeclaration(ThisDecl); in ParseDeclGroup()
1840 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, ThisDecl); in ParseDeclGroup()
1910 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseDeclGroup()
1969 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclarationAfterDeclaratorAndAttributes()
1974 ThisDecl = Actions.ActOnTemplateDeclarator(getCurScope(), in ParseDeclarationAfterDeclaratorAndAttributes()
1985 DeclResult ThisRes = Actions.ActOnExplicitInstantiation( in ParseDeclarationAfterDeclaratorAndAttributes()
2001 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclarationAfterDeclaratorAndAttributes()
2012 FakedParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseDeclarationAfterDeclaratorAndAttributes()
2017 Actions.ActOnTemplateDeclarator(getCurScope(), FakedParamLists, D); in ParseDeclarationAfterDeclaratorAndAttributes()
2046 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2050 Actions.CodeCompleteInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2051 Actions.FinalizeDeclaration(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2071 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2082 Actions.ActOnInitializerError(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2084 Actions.AddInitializerToDecl(ThisDecl, Init.get(), in ParseDeclarationAfterDeclaratorAndAttributes()
2097 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2101 Actions.CodeCompleteConstructor(getCurScope(), in ParseDeclarationAfterDeclaratorAndAttributes()
2105 Actions.ActOnInitializerError(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2109 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2120 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2124 ExprResult Initializer = Actions.ActOnParenListExpr(T.getOpenLocation(), in ParseDeclarationAfterDeclaratorAndAttributes()
2127 Actions.AddInitializerToDecl(ThisDecl, Initializer.get(), in ParseDeclarationAfterDeclaratorAndAttributes()
2137 Actions.ActOnCXXEnterDeclInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2143 Actions.ActOnCXXExitDeclInitializer(getCurScope(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2148 Actions.ActOnInitializerError(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2150 Actions.AddInitializerToDecl(ThisDecl, Init.get(), in ParseDeclarationAfterDeclaratorAndAttributes()
2154 Actions.ActOnUninitializedDecl(ThisDecl, TypeContainsAuto); in ParseDeclarationAfterDeclaratorAndAttributes()
2157 Actions.FinalizeDeclaration(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2295 if (ParsedType T = Actions.ActOnMSVCUnknownTypeName( in ParseImplicitInt()
2301 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
2318 switch (Actions.isTagName(*Tok.getIdentifierInfo(), getCurScope())) { in ParseImplicitInt()
2335 LookupResult R(Actions, TokenName, SourceLocation(), in ParseImplicitInt()
2342 if (Actions.LookupParsedName(R, getCurScope(), SS)) { in ParseImplicitInt()
2388 if (Actions.isCurrentClassNameTypo(II, SS)) { in ParseImplicitInt()
2421 Actions.DiagnoseUnknownTypeName(II, Loc, getCurScope(), SS, T, in ParseImplicitInt()
2431 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
2491 ER = Actions.ActOnUnaryExprOrTypeTraitExpr(TypeLoc, UETT_AlignOf, true, in ParseAlignArgument()
2593 Actions.RestoreNestedNameSpecifierAnnotation( in DiagnoseMissingSemiAfterTagDefinition()
2596 Sema::NameClassification Classification = Actions.ClassifyName( in DiagnoseMissingSemiAfterTagDefinition()
2628 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in DiagnoseMissingSemiAfterTagDefinition()
2690 PrintingPolicy Policy = Actions.getPrintingPolicy(); in ParseDeclarationSpecifiers()
2727 DS.Finish(Actions, Policy); in ParseDeclarationSpecifiers()
2759 Actions.CodeCompleteDeclSpec(getCurScope(), DS, in ParseDeclarationSpecifiers()
2775 Actions.CodeCompleteOrdinaryName(getCurScope(), CCC); in ParseDeclarationSpecifiers()
2795 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseDeclarationSpecifiers()
2828 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS)) { in ParseDeclarationSpecifiers()
2877 Actions.isCurrentClassName(*Next.getIdentifierInfo(), getCurScope(), in ParseDeclarationSpecifiers()
2894 Actions.getTypeName(*Next.getIdentifierInfo(), Next.getLocation(), in ParseDeclarationSpecifiers()
2999 ParsedType TypeRep = Actions.ActOnObjCInstanceType(Loc); in ParseDeclarationSpecifiers()
3012 Actions.getTypeName(*Tok.getIdentifierInfo(), in ParseDeclarationSpecifiers()
3032 Actions.isCurrentClassName(*Tok.getIdentifierInfo(), getCurScope()) && in ParseDeclarationSpecifiers()
3076 Actions.isCurrentClassName(*TemplateId->Name, getCurScope()) && in ParseDeclarationSpecifiers()
3150 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_typedef, Loc, in ParseDeclarationSpecifiers()
3157 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_extern, Loc, in ParseDeclarationSpecifiers()
3162 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_private_extern, in ParseDeclarationSpecifiers()
3169 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_static, Loc, in ParseDeclarationSpecifiers()
3176 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc, in ParseDeclarationSpecifiers()
3185 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc, in ParseDeclarationSpecifiers()
3195 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_register, Loc, in ParseDeclarationSpecifiers()
3200 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_mutable, Loc, in ParseDeclarationSpecifiers()
3501 if (Actions.getLangOpts().OpenCLVersion < 200) { in ParseDeclarationSpecifiers()
3530 Actions.getASTContext().getPrintingPolicy())) in ParseDeclarationSpecifiers()
3603 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration()
3665 PrettyDeclStackTraceEntry CrashInfo(Actions, TagDecl, RecordLoc, in ParseStructUnionBody()
3674 Actions.ActOnTagStartDefinition(getCurScope(), TagDecl); in ParseStructUnionBody()
3718 Actions.ActOnField(getCurScope(), TagDecl, in ParseStructUnionBody()
3743 Actions.ActOnDefs(getCurScope(), TagDecl, Tok.getLocation(), in ParseStructUnionBody()
3771 Actions.ActOnFields(getCurScope(), in ParseStructUnionBody()
3776 Actions.ActOnTagFinishDefinition(getCurScope(), TagDecl, in ParseStructUnionBody()
3816 Actions.CodeCompleteTag(getCurScope(), DeclSpec::TST_enum); in ParseEnumSpecifier()
3933 EnterExpressionEvaluationContext Unevaluated(Actions, in ParseEnumSpecifier()
4076 SkipBody = Actions.shouldSkipAnonEnumBody(getCurScope(), in ParseEnumSpecifier()
4084 Decl *TagDecl = Actions.ActOnTag(getCurScope(), DeclSpec::TST_enum, TUK, in ParseEnumSpecifier()
4101 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4115 TypeResult Type = Actions.ActOnDependentTag( in ParseEnumSpecifier()
4125 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4149 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
4166 Actions.ActOnTagStartDefinition(getCurScope(), EnumDecl); in ParseEnumBody()
4216 Decl *EnumConstDecl = Actions.ActOnEnumConstant(getCurScope(), EnumDecl, in ParseEnumBody()
4272 Actions.ActOnEnumBody(StartLoc, T.getOpenLocation(), T.getCloseLocation(), in ParseEnumBody()
4286 Actions.ActOnTagFinishDefinition(getCurScope(), EnumDecl, in ParseEnumBody()
4701 if (SS.isSet() && Actions.ShouldEnterDeclaratorScope(getCurScope(), SS)) in isConstructorDeclarator()
4807 Actions.CodeCompleteTypeQualifiers(DS); in ParseTypeQualifierListOpt()
4905 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseTypeQualifierListOpt()
5228 if (Actions.ShouldEnterDeclaratorScope(getCurScope(), in ParseDirectDeclarator()
5248 !Actions.containsUnexpandedParameterPacks(D) && in ParseDirectDeclarator()
5295 Actions.ShouldEnterDeclaratorScope(getCurScope(), in ParseDirectDeclarator()
5349 Actions.ShouldEnterDeclaratorScope(getCurScope(), in ParseDirectDeclarator()
5668 Actions.CurContext->isRecord()); in ParseFunctionDeclarator()
5669 Sema::CXXThisScopeRAII ThisScope(Actions, in ParseFunctionDeclarator()
5670 dyn_cast<CXXRecordDecl>(Actions.CurContext), in ParseFunctionDeclarator()
5680 if (Delayed && Actions.isLibstdcxxEagerExceptionSpecHack(D) && in ParseFunctionDeclarator()
5826 if (Actions.getTypeName(*ParmII, Tok.getLocation(), getCurScope())) in ParseFunctionDeclaratorIdentifierList()
5943 !Actions.isUnexpandedParameterPackPermitted())) && in ParseParameterDeclarationClause()
5944 Actions.containsUnexpandedParameterPacks(ParmDeclarator)) in ParseParameterDeclarationClause()
5949 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator); in ParseParameterDeclarationClause()
5969 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc); in ParseParameterDeclarationClause()
5971 Actions.ActOnParamUnparsedDefaultArgument(Param, EqualLoc, in ParseParameterDeclarationClause()
5980 EnterExpressionEvaluationContext Eval(Actions, in ParseParameterDeclarationClause()
5990 DefArgResult = Actions.CorrectDelayedTyposInExpr(DefArgResult); in ParseParameterDeclarationClause()
5992 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc); in ParseParameterDeclarationClause()
5996 Actions.ActOnParamDefaultArgument(Param, EqualLoc, in ParseParameterDeclarationClause()
6014 Actions.containsUnexpandedParameterPacks(ParmDeclarator)) { in ParseParameterDeclarationClause()
6072 ExprResult ExprRes(Actions.ActOnNumericConstant(Tok, getCurScope())); in ParseBracketDeclarator()
6087 Actions.CodeCompleteBracketDeclarator(getCurScope()); in ParseBracketDeclarator()
6132 EnterExpressionEvaluationContext Unevaluated(Actions, in ParseBracketDeclarator()
6135 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseBracketDeclarator()
6269 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated, in ParseTypeofSpecifier()
6275 ExprResult Operand = Actions.CorrectDelayedTyposInExpr( in ParseTypeofSpecifier()
6297 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier()
6309 Operand = Actions.HandleExprEvaluationContextForTypeof(Operand.get()); in ParseTypeofSpecifier()
6320 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier()
6355 Actions.getASTContext().getPrintingPolicy())) in ParseAtomicSpecifier()
6395 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in TryAltiVecTokenOutOfLine()