Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp183 if (llvm::isa<UsingDecl>(Decl)) in VisitNamedDecl()
342 bool VisitUsingDecl(const UsingDecl *Using) { in VisitUsingDecl()
462 const std::vector<const UsingDecl *> &getUsingDecls() const { in getUsingDecls()
515 std::vector<const UsingDecl *> UsingDecls;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h74 class UsingDecl; variable
3582 class UsingDecl : public BaseUsingDecl, public Mergeable<UsingDecl> {
3593 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function
3636 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
3642 static UsingDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
3647 UsingDecl *getCanonicalDecl() override { in getCanonicalDecl()
3648 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl()
3650 const UsingDecl *getCanonicalDecl() const { in getCanonicalDecl()
3651 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl()
3687 UsingDecl *Using, NamedDecl *Target, in ConstructorUsingShadowDecl()
[all …]
H A DTextNodeDumper.h386 void VisitUsingDecl(const UsingDecl *D);
H A DJSONNodeDumper.h253 void VisitUsingDecl(const UsingDecl *UD);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp61 auto *UsingDecl = UsingDirectiveDecl::Create( in InitializeSema() local
66 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
H A DSemaAccess.cpp1319 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) { in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateInstantiateDecl.cpp3887 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3918 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl()
6625 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance, in isInstantiationOf()
6647 } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOfUnresolvedUsingDecl()
6716 if (auto *Using = dyn_cast<UsingDecl>(Other)) in isInstantiationOf()
6717 return isInstantiationOf(cast<UsingDecl>(D), Using, Ctx); in isInstantiationOf()
H A DSemaTypeTraits.cpp1054 if (isa<UsingDecl>(ND)) in EvaluateUnaryTypeTrait()
1092 if (isa<UsingDecl>(ND)) in EvaluateUnaryTypeTrait()
H A DSemaDeclCXX.cpp12694 if (auto *Using = dyn_cast<UsingDecl>(BUD)) { in CheckUsingShadowDecl()
12743 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D) || isa<UsingEnumDecl>(D)) in CheckUsingShadowDecl()
12869 UsingDecl *Using = cast<UsingDecl>(BUD); in BuildUsingShadowDecl()
13128 UsingDecl *UD = in BuildUsingDeclaration()
13129 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
13276 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration()
13366 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl()
13415 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) { in CheckUsingDeclRedeclaration()
13437 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
13472 const LookupResult *R, const UsingDecl *UD) { in CheckUsingDeclQualifier()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1487 if (const auto *Using = dyn_cast<UsingDecl>(D)) { in addedMember()
3365 SourceLocation Loc, UsingDecl *Using, in Create()
3411 void UsingDecl::anchor() {} in anchor()
3413 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create()
3417 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create()
3420 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
3421 return new (C, ID) UsingDecl(nullptr, SourceLocation(), in CreateDeserialized()
3426 SourceRange UsingDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp103 void VisitUsingDecl(UsingDecl *D);
1746 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
H A DJSONNodeDumper.cpp903 void JSONNodeDumper::VisitUsingDecl(const UsingDecl *UD) { in VisitUsingDecl()
H A DDecl.cpp1883 if (const auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces()
1887 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h47 class UsingDecl; variable
589 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.h1515 if (isa<UsingDecl>(ND)) in getConstructorInfo()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp606 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
H A DUSRGeneration.cpp114 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1818 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
4378 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_POLYMORPHIC_MATCHER_P() local
4379 return Inner.matches(*UsingDecl, Finder, Builder); in AST_POLYMORPHIC_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp888 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1980 clang::UsingDecl *
1985 clang::UsingDecl *using_decl = clang::UsingDecl::Create( in CreateUsingDeclaration()
9231 } else if (clang::UsingDecl *ud = in DeclContextFindDeclByName()
9232 llvm::dyn_cast<clang::UsingDecl>(child)) { in DeclContextFindDeclByName()
9347 if (clang::UsingDecl *ud = in CountDeclLevels()
9348 llvm::dyn_cast<clang::UsingDecl>(child)) { in CountDeclLevels()
H A DTypeSystemClang.h1132 clang::UsingDecl *CreateUsingDeclaration(clang::DeclContext *current_decl_ctx,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp394 void VisitUsingDecl(UsingDecl *D);
1896 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3966 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp133 void VisitUsingDecl(UsingDecl *D);
1581 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1552 bool WalkUpFromUsingDecl(UsingDecl *S) { in WalkUpFromUsingDecl()

12