Home
last modified time | relevance | path

Searched refs:UsingDecl (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h74 class UsingDecl; variable
3519 class UsingDecl : public BaseUsingDecl, public Mergeable<UsingDecl> {
3530 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function
3573 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
3579 static UsingDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
3584 UsingDecl *getCanonicalDecl() override { in getCanonicalDecl()
3585 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl()
3587 const UsingDecl *getCanonicalDecl() const { in getCanonicalDecl()
3588 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl()
3624 UsingDecl *Using, NamedDecl *Target, in ConstructorUsingShadowDecl()
[all …]
H A DTextNodeDumper.h385 void VisitUsingDecl(const UsingDecl *D);
H A DJSONNodeDumper.h253 void VisitUsingDecl(const UsingDecl *UD);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1415 if (const auto *Using = dyn_cast<UsingDecl>(D)) { in addedMember()
3140 SourceLocation Loc, UsingDecl *Using, in Create()
3186 void UsingDecl::anchor() {} in anchor()
3188 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create()
3192 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create()
3195 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
3196 return new (C, ID) UsingDecl(nullptr, SourceLocation(), in CreateDeserialized()
3201 SourceRange UsingDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp102 void VisitUsingDecl(UsingDecl *D);
1710 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
H A DJSONNodeDumper.cpp901 void JSONNodeDumper::VisitUsingDecl(const UsingDecl *UD) { in VisitUsingDecl()
H A DDecl.cpp1866 if (const auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces()
1870 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
H A DTextNodeDumper.cpp2618 void TextNodeDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp420 auto *UsingDecl = UsingDirectiveDecl::Create( in InitializeSema() local
425 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
H A DSemaTemplateInstantiateDecl.cpp3342 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3373 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl()
5943 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance, in isInstantiationOf()
5965 } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOfUnresolvedUsingDecl()
6034 if (auto *Using = dyn_cast<UsingDecl>(Other)) in isInstantiationOf()
6035 return isInstantiationOf(cast<UsingDecl>(D), Using, Ctx); in isInstantiationOf()
H A DSemaAccess.cpp1320 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) { in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaDeclCXX.cpp12367 if (auto *Using = dyn_cast<UsingDecl>(BUD)) { in CheckUsingShadowDecl()
12416 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D) || isa<UsingEnumDecl>(D)) in CheckUsingShadowDecl()
12542 UsingDecl *Using = cast<UsingDecl>(BUD); in BuildUsingShadowDecl()
12797 UsingDecl *UD = in BuildUsingDeclaration()
12798 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
12944 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration()
13034 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl()
13083 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) { in CheckUsingDeclRedeclaration()
13105 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
13140 const LookupResult *R, const UsingDecl *UD) { in CheckUsingDeclQualifier()
H A DSemaLookup.cpp3482 assert(isa<UsingDecl>(Cand.getDecl()) && in LookupSpecialMember()
4000 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h46 class UsingDecl; variable
564 void EmitUsingDecl(const UsingDecl &UD);
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp345 if (llvm::isa<RecordDecl>(D) || llvm::isa<UsingDecl>(D)) in getTerminators()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1274 if (isa<UsingDecl>(ND)) in getConstructorInfo()
H A DSema.h221 class UsingDecl; variable
4769 UsingDirectiveDecl *&UsingDecl, bool IsNested);
4903 const UsingDecl *UD = nullptr);
4927 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp606 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
H A DUSRGeneration.cpp118 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1779 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
4285 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_POLYMORPHIC_MATCHER_P() local
4286 return Inner.matches(*UsingDecl, Finder, Builder); in AST_POLYMORPHIC_MATCHER_P()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h1108 clang::UsingDecl *CreateUsingDeclaration(clang::DeclContext *current_decl_ctx,
H A DTypeSystemClang.cpp1961 clang::UsingDecl *
1966 clang::UsingDecl *using_decl = clang::UsingDecl::Create( in CreateUsingDeclaration()
9306 } else if (clang::UsingDecl *ud = in DeclContextFindDeclByName()
9307 llvm::dyn_cast<clang::UsingDecl>(child)) { in DeclContextFindDeclByName()
9422 if (clang::UsingDecl *ud = in CountDeclLevels()
9423 llvm::dyn_cast<clang::UsingDecl>(child)) { in CountDeclLevels()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp403 void VisitUsingDecl(UsingDecl *D);
1875 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3889 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp121 void VisitUsingDecl(UsingDecl *D);
1407 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1560 bool WalkUpFromUsingDecl(UsingDecl *S) { in WalkUpFromUsingDecl()

12