Lines Matching refs:getSema
766 return getSema().CheckParameterPacksForExpansion(EllipsisLoc,
900 getSema().CallsUndergoingInstantiation.push_back(CE);
903 getSema().CallsUndergoingInstantiation.pop_back();
934 getSema().MarkDeclarationsReferencedInType(Loc, T);
967 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
984 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs);
988 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst);
999 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD));
1009 if (getSema().ArgumentPackSubstitutionIndex == -1)
1012 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1023 getSema().Diag(Loc, diag::err_nested_name_spec_non_tag) << T;
1040 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
1049 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
1108 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1112 return getSema().Context.getSubstTemplateTemplateParmPack(TTP, Arg);
1115 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1127 Template = getSema().Context.getSubstTemplateTemplateParm(TTP, Template);
1134 if (getSema().ArgumentPackSubstitutionIndex == -1)
1138 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1151 FunctionDecl *currentDecl = getSema().getCurFunctionDecl();
1162 ResTy = getSema().Context.WideCharTy.withConst();
1164 ResTy = getSema().Context.CharTy.withConst();
1165 ResTy = getSema().Context.getConstantArrayType(ResTy, LengthI,
1168 new (getSema().Context) PredefinedExpr(E->getLocation(), ResTy, IT);
1169 return getSema().Owned(PE);
1188 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1204 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1233 getSema().FindInstantiatedDecl(loc, VD, TemplateArgs));
1278 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1280 return getSema().Owned(E);
1284 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1294 return getSema().BuildDeclarationNameExpr(CXXScopeSpec(), NameInfo, PD);
1299 if (getSema().ArgumentPackSubstitutionIndex != -1) {
1301 ParmVarDecl *D = E->getExpansion(getSema().ArgumentPackSubstitutionIndex);
1325 return FunctionParmPackExpr::Create(getSema().Context, T,
1335 = getSema().CurrentInstantiationScope->findInstantiationOf(PD);
1342 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1346 return FunctionParmPackExpr::Create(getSema().Context, T, PD,
1350 TransformedDecl = (*Pack)[getSema().ArgumentPackSubstitutionIndex];
1443 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1448 = getSema().Context.getSubstTemplateTypeParmPackType(T, Arg);
1455 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1465 = getSema().Context.getSubstTemplateTypeParmType(T, Replacement);
1482 = getSema().Context.getTemplateTypeParmType(T->getDepth()
1496 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1505 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1508 Result = getSema().Context.getSubstTemplateTypeParmType(