Home | History | Annotate | Download | only in Sema

Lines Matching refs:getSema

662       return getSema().CheckParameterPacksForExpansion(EllipsisLoc, 
832 TemplateDeclInstantiator DeclInstantiator(getSema(),
850 getSema().MarkDeclarationsReferencedInType(Loc, T);
883 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
900 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs);
904 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst);
915 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD));
925 if (getSema().ArgumentPackSubstitutionIndex == -1)
928 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
939 getSema().Diag(Loc, diag::err_nested_name_spec_non_tag) << T;
956 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
965 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
1024 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1028 return getSema().Context.getSubstTemplateTemplateParmPack(TTP, Arg);
1031 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1043 Template = getSema().Context.getSubstTemplateTemplateParm(TTP, Template);
1050 if (getSema().ArgumentPackSubstitutionIndex == -1)
1054 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1067 return getSema().BuildPredefinedExpr(E->getLocation(), E->getIdentType());
1086 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1102 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1116 if (getSema().CheckLoopHintExpr(TransformedExpr, LH->getLocation()))
1122 getSema().Context, LH->getSemanticSpelling(), LH->getOption(),
1149 getSema().FindInstantiatedDecl(loc, VD, TemplateArgs));
1192 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1198 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1208 return getSema().BuildDeclarationNameExpr(CXXScopeSpec(), NameInfo, PD);
1213 if (getSema().ArgumentPackSubstitutionIndex != -1) {
1215 ParmVarDecl *D = E->getExpansion(getSema().ArgumentPackSubstitutionIndex);
1239 return FunctionParmPackExpr::Create(getSema().Context, T,
1249 = getSema().CurrentInstantiationScope->findInstantiationOf(PD);
1256 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1260 return FunctionParmPackExpr::Create(getSema().Context, T, PD,
1264 TransformedDecl = (*Pack)[getSema().ArgumentPackSubstitutionIndex];
1352 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1357 = getSema().Context.getSubstTemplateTypeParmPackType(T, Arg);
1364 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1374 = getSema().Context.getSubstTemplateTypeParmType(T, Replacement);
1391 = getSema().Context.getTemplateTypeParmType(T->getDepth()
1405 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1414 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
1417 Result = getSema().Context.getSubstTemplateTypeParmType(