Lines Matching refs:TInfo
828 TypeSourceInfo *TInfo = GetTypeForDeclarator(D); in ActOnDecompositionDeclarator() local
829 QualType R = TInfo->getType(); in ActOnDecompositionDeclarator()
831 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in ActOnDecompositionDeclarator()
944 ActOnVariableDeclarator(S, D, DC, TInfo, Previous, in ActOnDecompositionDeclarator()
2635 TypeSourceInfo *TInfo, in CheckBaseSpecifier() argument
2637 QualType BaseType = TInfo->getType(); in CheckBaseSpecifier()
2638 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
2646 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
2748 Access, TInfo, EllipsisLoc); in CheckBaseSpecifier()
2780 TypeSourceInfo *TInfo = nullptr; in ActOnBaseSpecifier() local
2781 GetTypeFromParser(basetype, &TInfo); in ActOnBaseSpecifier()
2784 DiagnoseUnexpandedParameterPack(SpecifierRange.getBegin(), TInfo, in ActOnBaseSpecifier()
2797 Virtual, Access, TInfo, in ActOnBaseSpecifier()
4336 TypeSourceInfo *TInfo = nullptr; in BuildMemInitializer() local
4339 BaseType = GetTypeFromParser(TemplateTypeTy, &TInfo); in BuildMemInitializer()
4377 TInfo = Context.CreateTypeSourceInfo(BaseType); in BuildMemInitializer()
4379 TInfo->getTypeLoc().castAs<DependentNameTypeLoc>(); in BuildMemInitializer()
4459 TInfo = Context.CreateTypeSourceInfo(BaseType); in BuildMemInitializer()
4460 ElaboratedTypeLoc TL = TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>(); in BuildMemInitializer()
4467 if (!TInfo) in BuildMemInitializer()
4468 TInfo = Context.getTrivialTypeSourceInfo(BaseType, IdLoc); in BuildMemInitializer()
4470 return BuildBaseInitializer(BaseType, TInfo, Init, ClassDecl, EllipsisLoc); in BuildMemInitializer()
4557 Sema::BuildDelegatingInitializer(TypeSourceInfo *TInfo, Expr *Init, in BuildDelegatingInitializer() argument
4559 SourceLocation NameLoc = TInfo->getTypeLoc().getSourceRange().getBegin(); in BuildDelegatingInitializer()
4562 << TInfo->getTypeLoc().getSourceRange(); in BuildDelegatingInitializer()
4614 return new (Context) CXXCtorInitializer(Context, TInfo, InitRange.getBegin(), in BuildDelegatingInitializer()
13378 TypeSourceInfo *TInfo = nullptr; in ActOnAliasDeclaration() local
13379 GetTypeFromParser(Type.get(), &TInfo); in ActOnAliasDeclaration()
13384 if (DiagnoseUnexpandedParameterPack(Name.StartLocation, TInfo, in ActOnAliasDeclaration()
13387 TInfo = Context.getTrivialTypeSourceInfo(Context.IntTy, in ActOnAliasDeclaration()
13388 TInfo->getTypeLoc().getBeginLoc()); in ActOnAliasDeclaration()
13408 Name.Identifier, TInfo); in ActOnAliasDeclaration()
13964 TypeSourceInfo *TInfo = in findInheritingConstructor() local
13967 TInfo->getTypeLoc().IgnoreParens().castAs<FunctionProtoTypeLoc>(); in findInheritingConstructor()
13979 Context, Derived, UsingLoc, NameInfo, TInfo->getType(), TInfo, in findInheritingConstructor()
13990 const FunctionProtoType *FPT = TInfo->getType()->castAs<FunctionProtoType>(); in findInheritingConstructor()
14000 TypeSourceInfo *TInfo = in findInheritingConstructor() local
14004 FPT->getParamType(I), TInfo, SC_None, /*DefArg=*/nullptr); in findInheritingConstructor()
14091 auto *TInfo = Context.getTrivialTypeSourceInfo(B.getType(), InitLoc); in DefineInheritingConstructor() local
14093 Context, TInfo, VBase, InitLoc, Init.get(), InitLoc, in DefineInheritingConstructor()
16745 VarDecl *Sema::BuildExceptionDeclaration(Scope *S, TypeSourceInfo *TInfo, in BuildExceptionDeclaration() argument
16750 QualType ExDeclType = TInfo->getType(); in BuildExceptionDeclaration()
16823 ExDeclType, TInfo, SC_None); in BuildExceptionDeclaration()
16880 TypeSourceInfo *TInfo = GetTypeForDeclarator(D); in ActOnExceptionDeclarator() local
16884 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in ActOnExceptionDeclarator()
16886 TInfo = Context.getTrivialTypeSourceInfo(Context.IntTy, in ActOnExceptionDeclarator()
16916 S, TInfo, D.getBeginLoc(), D.getIdentifierLoc(), D.getIdentifier()); in ActOnExceptionDeclarator()
17615 TypeSourceInfo *TInfo = GetTypeForDeclarator(D); in ActOnFriendFunctionDecl() local
17627 if (!TInfo->getType()->isFunctionType()) { in ActOnFriendFunctionDecl()
17655 if (DiagnoseUnexpandedParameterPack(Loc, TInfo, UPPC_FriendDeclaration) || in ActOnFriendFunctionDecl()
17818 NamedDecl *ND = ActOnFunctionDeclarator(DCScope, D, DC, TInfo, Previous, in ActOnFriendFunctionDecl()
18957 TypeSourceInfo *TInfo = GetTypeForDeclarator(D); in HandleMSProperty() local
18958 QualType T = TInfo->getType(); in HandleMSProperty()
18962 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in HandleMSProperty()
18966 TInfo = Context.getTrivialTypeSourceInfo(T, Loc); in HandleMSProperty()
19013 MSPropertyDecl::Create(Context, Record, Loc, II, T, TInfo, TSSL, in HandleMSProperty()