Home | History | Annotate | Download | only in Sema

Lines Matching refs:getSema

715       return getSema().CheckParameterPacksForExpansion(EllipsisLoc, 
849 getSema().CallsUndergoingInstantiation.push_back(CE);
852 getSema().CallsUndergoingInstantiation.pop_back();
883 getSema().MarkDeclarationsReferencedInType(Loc, T);
907 assert(getSema().ArgumentPackSubstitutionIndex >= 0);
908 assert(getSema().ArgumentPackSubstitutionIndex < (int)Arg.pack_size());
909 Arg = Arg.pack_begin()[getSema().ArgumentPackSubstitutionIndex];
926 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs);
930 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst);
941 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD));
951 if (getSema().ArgumentPackSubstitutionIndex == -1)
954 assert(getSema().ArgumentPackSubstitutionIndex < (int)Arg.pack_size());
955 Arg = Arg.pack_begin()[getSema().ArgumentPackSubstitutionIndex];
966 getSema().Diag(Loc, diag::err_nested_name_spec_non_tag) << T;
983 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
992 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var);
1051 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1055 return getSema().Context.getSubstTemplateTemplateParmPack(TTP, Arg);
1058 assert(getSema().ArgumentPackSubstitutionIndex < (int)Arg.pack_size());
1059 Arg = Arg.pack_begin()[getSema().ArgumentPackSubstitutionIndex];
1071 Template = getSema().Context.getSubstTemplateTemplateParm(TTP, Template);
1078 if (getSema().ArgumentPackSubstitutionIndex == -1)
1082 assert(getSema().ArgumentPackSubstitutionIndex < (int)ArgPack.pack_size() &&
1084 return ArgPack.pack_begin()[getSema().ArgumentPackSubstitutionIndex]
1097 FunctionDecl *currentDecl = getSema().getCurFunctionDecl();
1108 ResTy = getSema().Context.WCharTy.withConst();
1110 ResTy = getSema().Context.CharTy.withConst();
1111 ResTy = getSema().Context.getConstantArrayType(ResTy, LengthI,
1114 new (getSema().Context) PredefinedExpr(E->getLocation(), ResTy, IT);
1115 return getSema().Owned(PE);
1134 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1150 getSema().ArgumentPackSubstitutionIndex < (int)Arg.pack_size());
1151 Arg = Arg.pack_begin()[getSema().ArgumentPackSubstitutionIndex];
1188 getSema().FindInstantiatedDecl(loc, VD, TemplateArgs));
1233 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1235 return getSema().Owned(E);
1239 unsigned Index = (unsigned)getSema().ArgumentPackSubstitutionIndex;
1252 return getSema().BuildDeclarationNameExpr(CXXScopeSpec(), NameInfo, PD);
1257 if (getSema().ArgumentPackSubstitutionIndex != -1) {
1259 ParmVarDecl *D = E->getExpansion(getSema().ArgumentPackSubstitutionIndex);
1283 return FunctionParmPackExpr::Create(getSema().Context, T,
1293 = getSema().CurrentInstantiationScope->findInstantiationOf(PD);
1300 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1304 return FunctionParmPackExpr::Create(getSema().Context, T, PD,
1308 TransformedDecl = (*Pack)[getSema().ArgumentPackSubstitutionIndex];
1401 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1406 = getSema().Context.getSubstTemplateTypeParmPackType(T, Arg);
1413 assert(getSema().ArgumentPackSubstitutionIndex < (int)Arg.pack_size());
1414 Arg = Arg.pack_begin()[getSema().ArgumentPackSubstitutionIndex];
1424 = getSema().Context.getSubstTemplateTypeParmType(T, Replacement);
1441 = getSema().Context.getTemplateTypeParmType(T->getDepth()
1455 if (getSema().ArgumentPackSubstitutionIndex == -1) {
1464 unsigned Index = (unsigned)getSema().ArgumentPackSubstitutionIndex;
1468 Result = getSema().Context.getSubstTemplateTypeParmType(