Lines Matching defs:UsingLoc

12197 Decl *Sema::ActOnUsingDirective(Scope *S, SourceLocation UsingLoc,
12258 UDir = UsingDirectiveDecl::Create(Context, CurContext, UsingLoc, NamespcLoc,
12294 SourceLocation UsingLoc,
12346 if (UsingLoc.isInvalid()) {
12367 BuildUsingDeclaration(S, AS, UsingLoc, TypenameLoc.isValid(), TypenameLoc,
12378 SourceLocation UsingLoc,
12412 BuildUsingEnumDeclaration(S, AS, UsingLoc, EnumLoc, IdentLoc, TSI, Enum);
12807 Scope *S, AccessSpecifier AS, SourceLocation UsingLoc,
12857 if (CheckUsingDeclRedeclaration(UsingLoc, HasTypenameKeyword,
12864 Diag(UsingLoc, diag::err_using_if_exists_on_ctor);
12873 if (!LookupContext && CheckUsingDeclQualifier(UsingLoc, HasTypenameKeyword,
12880 UsingLoc, TypenameLoc,
12885 D = UnresolvedUsingValueDecl::Create(Context, CurContext, UsingLoc,
12896 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc,
12930 if (CheckUsingDeclQualifier(UsingLoc, HasTypenameKeyword, SS, NameInfo,
12935 R.addDecl(UnresolvedUsingIfExistsDecl::Create(Context, CurContext, UsingLoc,
12952 getSourceManager().isInSystemHeader(UsingLoc))
13064 SourceLocation UsingLoc,
13082 Diag(UsingLoc, diag::err_using_enum_decl_redeclaration)
13093 UsingEnumDecl *UD = UsingEnumDecl::Create(Context, CurContext, UsingLoc,
13159 bool Sema::CheckUsingDeclRedeclaration(SourceLocation UsingLoc,
13234 bool Sema::CheckUsingDeclQualifier(SourceLocation UsingLoc, bool HasTypename,
13316 << FixItHint::CreateReplacement(UsingLoc, "typedef")
13327 UsingLoc, "auto &" + NameInfo.getName().getAsString() + " = ");
13330 Diag(UsingLoc, diag::note_using_decl_class_member_workaround)
13340 UsingLoc,
13344 Diag(UsingLoc, diag::note_using_decl_class_member_workaround)
13466 SourceLocation UsingLoc, UnqualifiedId &Name,
13503 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc,
13530 Diag(UsingLoc, diag::err_alias_template_extra_headers)
13549 Diag(UsingLoc, diag::err_redefinition_different_kind)
13591 TypeAliasTemplateDecl::Create(Context, CurContext, UsingLoc,
14046 SourceLocation UsingLoc = Shadow->getLocation();
14062 DeclarationNameInfo NameInfo(Name, UsingLoc);
14064 Context.getTrivialTypeSourceInfo(BaseCtor->getType(), UsingLoc);
14078 Context, Derived, UsingLoc, NameInfo, TInfo->getType(), TInfo,
14100 Context.getTrivialTypeSourceInfo(FPT->getParamType(I), UsingLoc);
14102 Context, DerivedCtor, UsingLoc, UsingLoc, /*IdentifierInfo=*/nullptr,
14121 SetDeclDeleted(DerivedCtor, UsingLoc);