Lines Matching defs:UsingLoc
12098 Decl *Sema::ActOnUsingDirective(Scope *S, SourceLocation UsingLoc,
12159 UDir = UsingDirectiveDecl::Create(Context, CurContext, UsingLoc, NamespcLoc,
12195 SourceLocation UsingLoc,
12247 if (UsingLoc.isInvalid()) {
12268 BuildUsingDeclaration(S, AS, UsingLoc, TypenameLoc.isValid(), TypenameLoc,
12279 SourceLocation UsingLoc,
12314 BuildUsingEnumDeclaration(S, AS, UsingLoc, EnumLoc, IdentLoc, TSI, Enum);
12709 Scope *S, AccessSpecifier AS, SourceLocation UsingLoc,
12759 if (CheckUsingDeclRedeclaration(UsingLoc, HasTypenameKeyword,
12766 Diag(UsingLoc, diag::err_using_if_exists_on_ctor);
12775 if (!LookupContext && CheckUsingDeclQualifier(UsingLoc, HasTypenameKeyword,
12782 UsingLoc, TypenameLoc,
12787 D = UnresolvedUsingValueDecl::Create(Context, CurContext, UsingLoc,
12798 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc,
12832 if (CheckUsingDeclQualifier(UsingLoc, HasTypenameKeyword, SS, NameInfo,
12837 R.addDecl(UnresolvedUsingIfExistsDecl::Create(Context, CurContext, UsingLoc,
12854 getSourceManager().isInSystemHeader(UsingLoc))
12966 SourceLocation UsingLoc,
12984 Diag(UsingLoc, diag::err_using_enum_decl_redeclaration)
12995 UsingEnumDecl *UD = UsingEnumDecl::Create(Context, CurContext, UsingLoc,
13061 bool Sema::CheckUsingDeclRedeclaration(SourceLocation UsingLoc,
13136 bool Sema::CheckUsingDeclQualifier(SourceLocation UsingLoc, bool HasTypename,
13218 << FixItHint::CreateReplacement(UsingLoc, "typedef")
13229 UsingLoc, "auto &" + NameInfo.getName().getAsString() + " = ");
13232 Diag(UsingLoc, diag::note_using_decl_class_member_workaround)
13243 UsingLoc,
13247 Diag(UsingLoc, diag::note_using_decl_class_member_workaround)
13367 SourceLocation UsingLoc, UnqualifiedId &Name,
13406 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc,
13430 Diag(UsingLoc, diag::err_alias_template_extra_headers)
13449 Diag(UsingLoc, diag::err_redefinition_different_kind)
13491 TypeAliasTemplateDecl::Create(Context, CurContext, UsingLoc,
13947 SourceLocation UsingLoc = Shadow->getLocation();
13963 DeclarationNameInfo NameInfo(Name, UsingLoc);
13965 Context.getTrivialTypeSourceInfo(BaseCtor->getType(), UsingLoc);
13979 Context, Derived, UsingLoc, NameInfo, TInfo->getType(), TInfo,
14001 Context.getTrivialTypeSourceInfo(FPT->getParamType(I), UsingLoc);
14003 Context, DerivedCtor, UsingLoc, UsingLoc, /*IdentifierInfo=*/nullptr,
14022 SetDeclDeleted(DerivedCtor, UsingLoc);