Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp184 if (llvm::isa<UsingDecl>(Decl)) in VisitNamedDecl()
343 bool VisitUsingDecl(const UsingDecl *Using) { in VisitUsingDecl()
463 const std::vector<const UsingDecl *> &getUsingDecls() const { in getUsingDecls()
516 std::vector<const UsingDecl *> UsingDecls;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h74 class UsingDecl; variable
3505 class UsingDecl : public BaseUsingDecl, public Mergeable<UsingDecl> {
3516 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function
3559 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
3570 UsingDecl *getCanonicalDecl() override { in getCanonicalDecl()
3571 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl()
3573 const UsingDecl *getCanonicalDecl() const { in getCanonicalDecl()
3574 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl()
3610 UsingDecl *Using, NamedDecl *Target, in ConstructorUsingShadowDecl()
3648 UsingDecl *getIntroducer() const { in getIntroducer()
[all …]
H A DTextNodeDumper.h371 void VisitUsingDecl(const UsingDecl *D);
H A DJSONNodeDumper.h250 void VisitUsingDecl(const UsingDecl *UD);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1372 if (const auto *Using = dyn_cast<UsingDecl>(D)) { in addedMember()
3109 SourceLocation Loc, UsingDecl *Using, in Create()
3155 void UsingDecl::anchor() {} in anchor()
3157 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create()
3161 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create()
3164 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3165 return new (C, ID) UsingDecl(nullptr, SourceLocation(), in CreateDeserialized()
3170 SourceRange UsingDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp113 void VisitUsingDecl(UsingDecl *D);
1748 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
H A DJSONNodeDumper.cpp869 void JSONNodeDumper::VisitUsingDecl(const UsingDecl *UD) { in VisitUsingDecl()
H A DDecl.cpp1881 if (const auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces()
1885 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp410 auto *UsingDecl = UsingDirectiveDecl::Create( in InitializeSema() local
415 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
H A DSemaTemplateInstantiateDecl.cpp3296 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3327 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl()
5961 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance, in isInstantiationOf()
5983 } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOfUnresolvedUsingDecl()
6052 if (auto *Using = dyn_cast<UsingDecl>(Other)) in isInstantiationOf()
6053 return isInstantiationOf(cast<UsingDecl>(D), Using, Ctx); in isInstantiationOf()
H A DSemaAccess.cpp1322 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) { in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaDeclCXX.cpp12453 if (auto *Using = dyn_cast<UsingDecl>(BUD)) { in CheckUsingShadowDecl()
12502 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D) || isa<UsingEnumDecl>(D)) in CheckUsingShadowDecl()
12629 UsingDecl *Using = cast<UsingDecl>(BUD); in BuildUsingShadowDecl()
12921 UsingDecl *UD = in BuildUsingDeclaration()
12922 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
13065 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration()
13156 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl()
13208 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) { in CheckUsingDeclRedeclaration()
13230 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
13272 const LookupResult *R, const UsingDecl *UD) { in CheckUsingDeclQualifier()
H A DSemaLookup.cpp3528 assert(isa<UsingDecl>(Cand.getDecl()) && in LookupSpecialMember()
4066 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h43 class UsingDecl; variable
548 void EmitUsingDecl(const UsingDecl &UD);
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp296 if (llvm::isa<RecordDecl>(D) || llvm::isa<UsingDecl>(D)) in getTerminators()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1216 if (isa<UsingDecl>(ND)) in getConstructorInfo()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1778 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-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp859 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2009 clang::UsingDecl *
2014 clang::UsingDecl *using_decl = clang::UsingDecl::Create( in CreateUsingDeclaration()
9107 } else if (clang::UsingDecl *ud = in DeclContextFindDeclByName()
9108 llvm::dyn_cast<clang::UsingDecl>(child)) { in DeclContextFindDeclByName()
9224 if (clang::UsingDecl *ud = in CountDeclLevels()
9225 llvm::dyn_cast<clang::UsingDecl>(child)) { in CountDeclLevels()
H A DTypeSystemClang.h1087 clang::UsingDecl *CreateUsingDeclaration(clang::DeclContext *current_decl_ctx,
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp408 void VisitUsingDecl(UsingDecl *D);
1888 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3864 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp118 void VisitUsingDecl(UsingDecl *D);
1369 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1559 bool WalkUpFromUsingDecl(UsingDecl *S) { in WalkUpFromUsingDecl()

12