Lines Matching refs:getLocation

92                                          TemplateArgs, Aligned->getLocation(),
120 SourceLocation EllipsisLoc = Aligned->getLocation();
177 S.getASTContext().UnsignedLongLongTy, Align->getLocation());
204 S.Diag(A->getLocation(), diag::err_attr_cond_never_constant_expr) << A;
711 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(),
743 D->getLocation(), D->getDeclName());
749 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
772 D->getLocation(), D->getIdentifier(), DI);
775 D->getLocation(), D->getIdentifier(), DI);
791 NamedDecl *InstPrev = SemaRef.FindInstantiatedDecl(D->getLocation(), Prev,
855 = TypeAliasTemplateDecl::Create(SemaRef.Context, Owner, D->getLocation(),
872 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(),
912 SemaRef.Diag(D->getLocation(), diag::err_variable_instantiates_to_function)
925 D->getLocation(), DI->getType(), DI,
929 D->getLocation(), D->getIdentifier(), DI->getType(),
975 D->getLocation(), D->getDeclName());
986 SemaRef.Diag(D->getLocation(), diag::err_field_instantiates_to_function)
991 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
1014 D->getLocation(),
1056 SemaRef.Diag(D->getLocation(), diag::err_property_is_variably_modified)
1061 D->getLocation(), D->getDeclName());
1072 SemaRef.Diag(D->getLocation(), diag::err_field_instantiates_to_function)
1077 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
1081 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(),
1102 NamedDecl *Next = SemaRef.FindInstantiatedDecl(D->getLocation(), PI,
1112 SemaRef.Context, Owner, D->getLocation(), D->getIdentifier(), T,
1137 D->getLocation(), DeclarationName());
1164 FriendDecl::Create(SemaRef.Context, Owner, D->getLocation(),
1184 return SemaRef.BuildStaticAssertDeclaration(D->getLocation(),
1194 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
1203 D->getLocation(), D->getIdentifier(), PrevDecl,
1251 SemaRef.CheckEnumRedeclaration(Def->getLocation(), Def->isScoped(),
1276 Enum->setLocation(Pattern->getLocation());
1301 EC->getLocation(), EC->getIdentifier(),
1327 SemaRef.ActOnEnumBody(Enum->getLocation(), Enum->getBraceRange(), Enum,
1388 DC = SemaRef.FindInstantiatedContext(Pattern->getLocation(),
1395 LookupResult R(SemaRef, Pattern->getDeclName(), Pattern->getLocation(),
1407 SemaRef.Diag(Pattern->getLocation(), diag::err_not_tag_in_scope)
1462 Pattern->getLocation(), Pattern->getIdentifier(), PrevDecl,
1472 = ClassTemplateDecl::Create(SemaRef.Context, DC, D->getLocation(),
1580 SemaRef.Context, DC, D->getLocation(), D->getIdentifier(), InstParams,
1689 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
1698 D->getLocation(), D->getIdentifier(), PrevDecl);
1749 SemaRef.InstantiateClass(D->getLocation(), Record, D, TemplateArgs,
1756 SemaRef.InstantiateClassMembers(D->getLocation(), Record, TemplateArgs,
1892 DC = SemaRef.FindInstantiatedContext(D->getLocation(), D->getDeclContext(),
1962 Function->getLocation(),
2015 Decl *Temp = SemaRef.FindInstantiatedDecl(D->getLocation(),
2097 SourceLocation Loc = R->getLocation(); // FIXME
2128 SemaRef.SetDeclDeleted(Function, D->getLocation());
2249 DC = SemaRef.FindInstantiatedContext(D->getLocation(),
2315 Method->getLocation(),
2378 Decl *Temp = SemaRef.FindInstantiatedDecl(D->getLocation(),
2452 SemaRef.SetDeclDeleted(Method, Method->getLocation());
2554 SemaRef.Context, Owner, D->getBeginLoc(), D->getLocation(),
2625 D->getLocation(), D->getDeclName());
2630 SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation());
2669 D->getLocation(),
2675 SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation());
2694 D->getLocation(),
2699 SemaRef.CheckNonTypeTemplateParameterType(NewPattern, D->getLocation());
2710 D->getLocation(), D->getDeclName());
2715 T = SemaRef.CheckNonTypeTemplateParameterType(DI, D->getLocation());
2725 SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
2731 SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
2820 if (SemaRef.CheckParameterPacksForExpansion(D->getLocation(),
2866 SemaRef.Context, Owner, D->getLocation(),
2871 SemaRef.Context, Owner, D->getLocation(),
2904 = UsingDirectiveDecl::Create(SemaRef.Context, Owner, D->getLocation(),
2967 D->getLocation(), Prev))
2974 SS, NameInfo, D->getLocation()))
3001 Shadow->getLocation(), OldTarget, TemplateArgs));
3012 Shadow->getLocation(), OldPrev, TemplateArgs));
3149 SemaRef.FindInstantiatedDecl(D->getLocation(), UD, TemplateArgs))
3178 SemaRef.CheckOMPThreadPrivateDecl(D->getLocation(), Vars);
3206 D->getLocation(), Vars, Clauses, Owner);
3227 D->getLocation(),
3229 D->getType(), TemplateArgs, D->getLocation(), DeclarationName())));
3240 std::make_pair(SubstReductionType, D->getLocation())};
3317 D->getLocation(),
3319 D->getLocation(), VN)));
3333 /*S=*/nullptr, Owner, D->getDeclName(), SubstMapperTy, D->getLocation(),
3351 NewDMD, /*S=*/nullptr, SubstMapperTy, D->getLocation(), VN);
3436 D->getLocation(), ClassTemplate, TemplateArgs));
3457 D->getLocation(),
3474 SemaRef.CheckSpecializationInstantiationRedecl(D->getLocation(),
3496 SemaRef.Diag(D->getLocation(), diag::err_redefinition) << PrevDecl;
3497 SemaRef.Diag(PrevDecl->getDefinition()->getLocation(),
3506 D->getLocation(), InstClassTemplate, Converted, PrevDecl);
3531 TemplateName(InstClassTemplate), D->getLocation(), InstTemplateArgs,
3548 SemaRef.InstantiateClass(D->getLocation(), InstD, D, TemplateArgs,
3566 D->getLocation(), VarTemplate, TemplateArgs));
3581 if (SemaRef.CheckTemplateArgumentList(InstVarTemplate, D->getLocation(),
3595 D->getLocation(), D->getSpecializationKind(), PrevDecl,
3618 SemaRef.Diag(D->getLocation(), diag::err_variable_instantiates_to_function)
3625 SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
3650 SemaRef.Diag(D->getLocation(), DiagID)
3677 runWithSufficientStackSpace(D->getLocation(), [&] {
3742 FriendDecl::Create(Context, RD, Spaceship->getLocation(),
3844 PartialSpec->getLocation(),
3852 PartialSpec->getLocation(), ClassTemplate, InstTemplateArgs.size(),
3879 PartialSpec->getLocation(),
3899 SemaRef.Diag(PartialSpec->getLocation(), diag::err_partial_spec_redeclared)
3901 SemaRef.Diag(PrevDecl->getLocation(), diag::note_prev_partial_spec_here)
3911 PartialSpec->getBeginLoc(), PartialSpec->getLocation(), InstParams,
3971 if (SemaRef.CheckTemplateArgumentList(VarTemplate, PartialSpec->getLocation(),
3977 PartialSpec->getLocation(), VarTemplate, InstTemplateArgs.size(),
4000 TemplateName(VarTemplate), PartialSpec->getLocation(), InstTemplateArgs,
4019 SemaRef.Diag(PartialSpec->getLocation(),
4022 SemaRef.Diag(PrevDecl->getLocation(),
4035 SemaRef.Diag(PartialSpec->getLocation(),
4045 PartialSpec->getLocation(), InstParams, VarTemplate, DI->getType(),
4134 D, D->getLocation(), OldProto->getParamType(i)));
4158 if (SemaRef.SubstParmTypes(D->getLocation(), D->parameters(), nullptr,
4190 FunctionParam->getLocation(),
4215 FunctionParam->getLocation(),
4434 NamedDecl *D = SemaRef.FindInstantiatedDecl(New->getLocation(),
4450 SemaRef.SetDeclDefaulted(New, Tmpl->getLocation());
4493 (void)S.CheckCXXDefaultArgExpr(Attr->getLocation(), Ctor,
4565 Diag(PatternDecl->getLocation(), diag::note_forward_template_decl);
4672 SetDeclDefaulted(Function, PatternDecl->getLocation());
4864 *this, NewVar->getDeclName(), NewVar->getLocation(),
4876 NewVar->getLocation(), OldVar->getPreviousDecl(), TemplateArgs))
5124 Diag(PatternDecl->getLocation(), diag::note_forward_template_decl);
5223 LookupResult R(*this, Var->getDeclName(), Var->getLocation(),
5852 DeclarationNameInfo NameInfo(Name, D->getLocation());
5900 Diag(D->getLocation(), diag::note_non_instantiated_member_here);
5913 Diag(Spec->getLocation(), diag::note_enum_specialized_here)