Lines Matching refs:Actions
86 return Actions.ActOnTypeName(DeclaratorInfo); in ParseTypeName()
222 Actions.CodeCompletion().CodeCompleteAttribute( in ParseGNUAttributes()
404 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
471 Expr = Actions.CorrectDelayedTyposInExpr(Expr); in ParseAttributeArgumentList()
474 Expr = Actions.ActOnPackExpansion(Expr.get(), ConsumeToken()); in ParseAttributeArgumentList()
491 if (Actions.DiagnoseUnexpandedParameterPack(Expr.get())) { in ParseAttributeArgumentList()
511 ExprResult Expr = Actions.CorrectDelayedTyposInExpr(E); in ParseAttributeArgumentList()
594 Actions, in ParseAttributeArgsCommon()
601 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseAttributeArgsCommon()
615 Actions, in ParseAttributeArgsCommon()
726 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs()
948 Actions.CodeCompletion().CodeCompleteAttribute( in ParseMicrosoftDeclSpecs()
1762 auto *SwiftType = IdentifierLoc::create(Actions.Context, Tok.getLocation(), in ParseSwiftNewTypeAttribute()
2064 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseDeclaration()
2118 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseSimpleDeclaration()
2120 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseSimpleDeclaration()
2124 return Actions.BuildDeclaratorGroup(decls); in ParseSimpleDeclaration()
2126 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
2130 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseSimpleDeclaration()
2357 Actions.CodeCompletion().CodeCompleteAfterFunctionEquals(D); in ParseDeclGroup()
2414 FakedParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseDeclGroup()
2430 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
2472 Actions, Sema::ExpressionEvaluationContext::PotentiallyEvaluated, in ParseDeclGroup()
2479 auto &LastRecord = Actions.ExprEvalContexts.back(); in ParseDeclGroup()
2484 Actions.OpenMP().startOpenMPCXXRangeFor(); in ParseDeclGroup()
2493 Actions.ExprEvalContexts.back().ForRangeLifetimeExtendTemps.empty()); in ParseDeclGroup()
2498 Actions.ExprEvalContexts.back().ForRangeLifetimeExtendTemps); in ParseDeclGroup()
2501 Decl *ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclGroup()
2503 Actions.ActOnCXXForRangeDecl(ThisDecl); in ParseDeclGroup()
2509 Actions.FinalizeDeclaration(ThisDecl); in ParseDeclGroup()
2511 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, ThisDecl); in ParseDeclGroup()
2599 return Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseDeclGroup()
2670 P.Actions.ActOnCXXEnterDeclInitializer(S, ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2682 P.Actions.ActOnCXXExitDeclInitializer(S, ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2710 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclarationAfterDeclaratorAndAttributes()
2715 ThisDecl = Actions.ActOnTemplateDeclarator(getCurScope(), in ParseDeclarationAfterDeclaratorAndAttributes()
2728 DeclResult ThisRes = Actions.ActOnExplicitInstantiation( in ParseDeclarationAfterDeclaratorAndAttributes()
2744 ThisDecl = Actions.ActOnDeclarator(getCurScope(), D); in ParseDeclarationAfterDeclaratorAndAttributes()
2755 FakedParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseDeclarationAfterDeclaratorAndAttributes()
2760 Actions.ActOnTemplateDeclarator(getCurScope(), FakedParamLists, D); in ParseDeclarationAfterDeclaratorAndAttributes()
2767 SemaCUDA::CUDATargetContextRAII X(Actions.CUDA(), in ParseDeclarationAfterDeclaratorAndAttributes()
2793 Actions.CodeCompletion().CodeCompleteInitializer(getCurScope(), in ParseDeclarationAfterDeclaratorAndAttributes()
2795 Actions.FinalizeDeclaration(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2821 Actions.ActOnInitializerError(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2823 Actions.AddInitializerToDecl(ThisDecl, Init.get(), in ParseDeclarationAfterDeclaratorAndAttributes()
2840 Actions.CodeCompletion().ProduceConstructorSignatureHelp( in ParseDeclarationAfterDeclaratorAndAttributes()
2864 Actions.CodeCompletion().ProduceConstructorSignatureHelp( in ParseDeclarationAfterDeclaratorAndAttributes()
2870 Actions.ActOnInitializerError(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2876 ExprResult Initializer = Actions.ActOnParenListExpr(T.getOpenLocation(), in ParseDeclarationAfterDeclaratorAndAttributes()
2879 Actions.AddInitializerToDecl(ThisDecl, Initializer.get(), in ParseDeclarationAfterDeclaratorAndAttributes()
2894 Actions.ActOnInitializerError(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2896 Actions.AddInitializerToDecl(ThisDecl, Init.get(), /*DirectInit=*/true); in ParseDeclarationAfterDeclaratorAndAttributes()
2900 Actions.ActOnUninitializedDecl(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2905 Actions.FinalizeDeclaration(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
3053 if (ParsedType T = Actions.ActOnMSVCUnknownTypeName( in ParseImplicitInt()
3059 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
3076 switch (Actions.isTagName(*Tok.getIdentifierInfo(), getCurScope())) { in ParseImplicitInt()
3093 LookupResult R(Actions, TokenName, SourceLocation(), in ParseImplicitInt()
3100 if (Actions.LookupName(R, getCurScope())) { in ParseImplicitInt()
3149 if (Actions.isCurrentClassNameTypo(II, SS)) { in ParseImplicitInt()
3187 Actions.DiagnoseUnknownTypeName(II, Loc, getCurScope(), SS, T, in ParseImplicitInt()
3196 Actions.getASTContext().getPrintingPolicy()); in ParseImplicitInt()
3294 if (Actions.ActOnAlignasTypeArgument(KWName, Ty, TypeLoc, TypeRange)) in ParseAlignArgument()
3393 Actions, Sema::ExpressionEvaluationContext::PotentiallyEvaluated, nullptr, in ParseBoundsAttribute()
3397 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseBoundsAttribute()
3407 ASTContext &Ctx = Actions.getASTContext(); in ParseBoundsAttribute()
3492 Actions.RestoreNestedNameSpecifierAnnotation( in DiagnoseMissingSemiAfterTagDefinition()
3495 Sema::NameClassification Classification = Actions.ClassifyName( in DiagnoseMissingSemiAfterTagDefinition()
3530 const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy(); in DiagnoseMissingSemiAfterTagDefinition()
3600 PrintingPolicy Policy = Actions.getPrintingPolicy(); in ParseDeclarationSpecifiers()
3685 DS.Finish(Actions, Policy); in ParseDeclarationSpecifiers()
3735 Actions.CodeCompletion().CodeCompleteDeclSpec( in ParseDeclarationSpecifiers()
3753 Actions.CodeCompletion().CodeCompleteOrdinaryName(getCurScope(), CCC); in ParseDeclarationSpecifiers()
3776 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseDeclarationSpecifiers()
3807 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS) && in ParseDeclarationSpecifiers()
3867 Actions.isCurrentClassName(*Next.getIdentifierInfo(), getCurScope(), in ParseDeclarationSpecifiers()
3881 ParsedType TypeRep = Actions.getTypeName( in ParseDeclarationSpecifiers()
4034 ParsedType TypeRep = Actions.ObjC().ActOnObjCInstanceType(Loc); in ParseDeclarationSpecifiers()
4049 Actions.isCurrentClassName(*Tok.getIdentifierInfo(), getCurScope()) && in ParseDeclarationSpecifiers()
4055 ParsedType TypeRep = Actions.getTypeName( in ParseDeclarationSpecifiers()
4084 Actions.isDeductionGuideName(getCurScope(), *Tok.getIdentifierInfo(), in ParseDeclarationSpecifiers()
4150 if (TemplateId && !isInvalid && Actions.CheckTypeConstraint(TemplateId)) in ParseDeclarationSpecifiers()
4196 Actions.isCurrentClassName(*TemplateId->Name, getCurScope()) && in ParseDeclarationSpecifiers()
4280 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_typedef, Loc, in ParseDeclarationSpecifiers()
4287 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_extern, Loc, in ParseDeclarationSpecifiers()
4292 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_private_extern, in ParseDeclarationSpecifiers()
4299 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_static, Loc, in ParseDeclarationSpecifiers()
4306 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc, in ParseDeclarationSpecifiers()
4315 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc, in ParseDeclarationSpecifiers()
4325 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_register, Loc, in ParseDeclarationSpecifiers()
4330 isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_mutable, Loc, in ParseDeclarationSpecifiers()
4394 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseDeclarationSpecifiers()
4402 Actions.ActOnExplicitBoolSpecifier(ExplicitExpr.get()); in ParseDeclarationSpecifiers()
4764 if (!Actions.getLangOpts().OpenCLGenericAddressSpace) { in ParseDeclarationSpecifiers()
4809 Actions.getASTContext().getPrintingPolicy())) in ParseDeclarationSpecifiers()
4931 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseStructDeclaration()
5044 Actions.ActOnFinishDelayedAttribute(getCurScope(), D, Attrs); in ParseLexedCAttribute()
5072 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, TagDecl, RecordLoc, in ParseStructUnionBody()
5081 Actions.ActOnTagStartDefinition(getCurScope(), TagDecl); in ParseStructUnionBody()
5132 TagType, Actions.getASTContext().getPrintingPolicy()); in ParseStructUnionBody()
5141 Actions.ActOnField(getCurScope(), TagDecl, in ParseStructUnionBody()
5166 Actions.ObjC().ActOnDefs(getCurScope(), TagDecl, Tok.getLocation(), in ParseStructUnionBody()
5198 Actions.ActOnFields(getCurScope(), RecordLoc, TagDecl, FieldDecls, in ParseStructUnionBody()
5201 Actions.ActOnTagFinishDefinition(getCurScope(), TagDecl, T.getRange()); in ParseStructUnionBody()
5241 Actions.CodeCompletion().CodeCompleteTag(getCurScope(), DeclSpec::TST_enum); in ParseEnumSpecifier()
5397 BaseType = Actions.ActOnTypeName(DeclaratorInfo); in ParseEnumSpecifier()
5531 SkipBody = Actions.shouldSkipAnonEnumBody(getCurScope(), in ParseEnumSpecifier()
5540 Actions.ActOnTag(getCurScope(), DeclSpec::TST_enum, TUK, StartLoc, SS, in ParseEnumSpecifier()
5559 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
5573 TypeResult Type = Actions.ActOnDependentTag( in ParseEnumSpecifier()
5583 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
5605 !Actions.ActOnDuplicateDefinition(TagDecl, SkipBody)) { in ParseEnumSpecifier()
5614 Actions.getASTContext().getPrintingPolicy())) in ParseEnumSpecifier()
5631 Actions.ActOnTagStartDefinition(getCurScope(), EnumDecl); in ParseEnumBody()
5676 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseEnumBody()
5684 Decl *EnumConstDecl = Actions.ActOnEnumConstant( in ParseEnumBody()
5738 Actions.ActOnEnumBody(StartLoc, T.getRange(), EnumDecl, EnumConstantDecls, in ParseEnumBody()
5750 Actions.ActOnTagFinishDefinition(getCurScope(), EnumDecl, T.getRange()); in ParseEnumBody()
5970 TopLevelStmtDecl *TLSD = Actions.ActOnStartTopLevelStmtDecl(getCurScope()); in ParseTopLevelStmtDecl()
5975 Actions.ActOnFinishTopLevelStmtDecl(TLSD, R.get()); in ParseTopLevelStmtDecl()
5990 TopLevelStmtDecl *D = Actions.ActOnStartTopLevelStmtDecl(getCurScope()); in ParseTopLevelStmtDecl()
5991 Actions.ActOnFinishTopLevelStmtDecl(D, S); in ParseTopLevelStmtDecl()
5995 return Actions.BuildDeclaratorGroup(DeclsInGroup); in ParseTopLevelStmtDecl()
6297 if (SS.isSet() && Actions.ShouldEnterDeclaratorScope(getCurScope(), SS)) in isConstructorDeclarator()
6431 Actions.CodeCompletion().CodeCompleteTypeQualifiers(DS); in ParseTypeQualifierListOpt()
6552 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseTypeQualifierListOpt()
6571 Actions.runWithSufficientStackSpace(D.getBeginLoc(), [&] { in ParseDeclarator()
6685 Actions.runWithSufficientStackSpace(D.getBeginLoc(), [&] { in ParseDeclaratorInternal()
6736 Actions.runWithSufficientStackSpace( in ParseDeclaratorInternal()
6782 Actions.runWithSufficientStackSpace( in ParseDeclaratorInternal()
6906 if (Actions.ShouldEnterDeclaratorScope(getCurScope(), in ParseDirectDeclarator()
6933 !Actions.containsUnexpandedParameterPacks(D) && in ParseDirectDeclarator()
6988 Actions.ShouldEnterDeclaratorScope(getCurScope(), in ParseDirectDeclarator()
7073 Actions.ShouldEnterDeclaratorScope(getCurScope(), in ParseDirectDeclarator()
7174 (ImplicitTypenameContext)Actions.isDeclaratorFunctionLike(D); in ParseDirectDeclarator()
7192 Actions.ActOnStartFunctionDeclarationDeclarator(D, in ParseDirectDeclarator()
7196 Actions.ActOnFinishFunctionDeclarationDeclarator(D); in ParseDirectDeclarator()
7220 ExprResult TrailingRequiresClause = Actions.CorrectDelayedTyposInExpr( in ParseDirectDeclarator()
7445 Actions.CurContext->isRecord()); in InitCXXThisScopeForDeclaratorIfRelevant()
7466 ThisScope.emplace(Actions, dyn_cast<CXXRecordDecl>(Actions.CurContext), Q, in InitCXXThisScopeForDeclaratorIfRelevant()
7572 Actions.CodeCompletion().CodeCompleteFunctionQualifiers(DS, D); in ParseFunctionDeclarator()
7600 if (Delayed && Actions.isLibstdcxxEagerExceptionSpecHack(D) && in ParseFunctionDeclarator()
7769 if (Actions.getTypeName(*ParmII, Tok.getLocation(), getCurScope())) in ParseFunctionDeclaratorIdentifierList()
7935 Actions.CorrectDelayedTyposInExpr( in ParseParameterDeclarationClause()
7961 !Actions.isUnexpandedParameterPackPermitted())) && in ParseParameterDeclarationClause()
7962 Actions.containsUnexpandedParameterPacks(ParmDeclarator)) in ParseParameterDeclarationClause()
7993 Actions.ActOnParamDeclarator(getCurScope(), ParmDeclarator, ThisLoc); in ParseParameterDeclarationClause()
8010 Actions.ActOnParamUnparsedDefaultArgument(Param, EqualLoc, in ParseParameterDeclarationClause()
8019 Actions, in ParseParameterDeclarationClause()
8030 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc, in ParseParameterDeclarationClause()
8038 DefArgResult = Actions.CorrectDelayedTyposInExpr(DefArgResult); in ParseParameterDeclarationClause()
8040 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc, in ParseParameterDeclarationClause()
8045 Actions.ActOnParamDefaultArgument(Param, EqualLoc, in ParseParameterDeclarationClause()
8063 Actions.containsUnexpandedParameterPacks(ParmDeclarator)) { in ParseParameterDeclarationClause()
8121 ExprResult ExprRes(Actions.ActOnNumericConstant(Tok, getCurScope())); in ParseBracketDeclarator()
8136 Actions.CodeCompletion().CodeCompleteBracketDeclarator(getCurScope()); in ParseBracketDeclarator()
8182 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseBracketDeclarator()
8184 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseBracketDeclarator()
8328 Actions, Sema::ExpressionEvaluationContext::Unevaluated, in ParseTypeofSpecifier()
8334 ExprResult Operand = Actions.CorrectDelayedTyposInExpr( in ParseTypeofSpecifier()
8358 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier()
8370 Operand = Actions.HandleExprEvaluationContextForTypeof(Operand.get()); in ParseTypeofSpecifier()
8383 Actions.getASTContext().getPrintingPolicy())) in ParseTypeofSpecifier()
8418 Actions.getASTContext().getPrintingPolicy())) in ParseAtomicSpecifier()
8460 const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy(); in TryAltiVecTokenOutOfLine()