Lines Matching defs:NameLoc
323 SourceLocation NameLoc, CXXScopeSpec &SS,
328 LookupResult R(*this, DeclarationName(&Name), NameLoc, LookupOrdinaryName);
1577 SourceLocation NameLoc, unsigned Depth, unsigned Position,
1586 NameLoc.isInvalid() ? TmpLoc : NameLoc, Depth, Position, IsParameterPack,
1597 maybeDiagnoseTemplateParameterShadow(*this, S, NameLoc, Name);
1796 CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc,
1825 LookupResult Previous(*this, Name, NameLoc,
1836 Diag(NameLoc, TUK == TagUseKind::Friend
1856 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc,
1870 DeclarationNameInfo(Name, NameLoc)))
1885 DiagnoseTemplateParameterShadow(NameLoc, PrevDecl);
2010 Diag(NameLoc, diag::err_redefinition) << Name;
2024 Diag(NameLoc, diag::err_redefinition_different_kind) << Name;
2050 Diag(NameLoc, TUK == TagUseKind::Friend
2067 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
2085 = ClassTemplateDecl::Create(Context, SemanticContext, NameLoc,
3502 SourceLocation NameLoc,
3511 if (!resolveAssumedTemplateNameAsType(S, Name, NameLoc, /*Diagnose*/false)) {
3519 SourceLocation NameLoc,
3527 LookupResult R(*this, ATN->getDeclName(), NameLoc, LookupOrdinaryName);
8446 const IdentifierInfo *Name, SourceLocation NameLoc, Expr *ConstraintExpr,
8451 Diag(NameLoc,
8457 Diag(NameLoc, diag::err_concept_extra_headers);
8464 Diag(NameLoc, diag::err_concept_no_parameters);
8487 ConceptDecl::Create(Context, DC, NameLoc, Name, Params, ConstraintExpr);
8492 Diag(NameLoc, diag::err_concept_no_associated_constraints);
8497 DeclarationNameInfo NameInfo(NewDecl->getDeclName(), NameLoc);
9700 IdentifierInfo *Name, SourceLocation NameLoc,
9706 ActOnTag(S, TagSpec, TagUseKind::Reference, KWLoc, SS, Name, NameLoc,
9750 CheckExplicitInstantiation(*this, Record, NameLoc, true, TSK);
9786 if (InstantiateClass(NameLoc, Record, Def,
9798 InstantiateClassMembers(NameLoc, RecordDef,
9802 MarkVTableUsed(NameLoc, RecordDef, true);
10232 SourceLocation NameLoc) {
10243 Diag(NameLoc, diag::err_dependent_tag_decl)
10258 TL.setNameLoc(NameLoc);