Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp184 if (llvm::isa<UsingDecl>(Decl)) in VisitNamedDecl()
324 bool VisitUsingDecl(const UsingDecl *Using) { in VisitUsingDecl()
445 const std::vector<const UsingDecl *> &getUsingDecls() const { in getUsingDecls()
499 std::vector<const UsingDecl *> UsingDecls;
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp1271 if (const auto *Using = dyn_cast<UsingDecl>(D)) { in addedMember()
2664 SourceLocation Loc, UsingDecl *Using, in UsingShadowDecl()
2682 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl()
2687 return cast<UsingDecl>(Shadow->UsingOrNextShadow); in getUsingDecl()
2709 void UsingDecl::anchor() {} in anchor()
2711 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl()
2721 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl()
2742 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create()
2749 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
2750 return new (C, ID) UsingDecl(nullptr, SourceLocation(), in CreateDeserialized()
[all …]
H A DDeclPrinter.cpp100 void VisitUsingDecl(UsingDecl *D);
1497 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
H A DASTDumper.cpp265 void VisitUsingDecl(const UsingDecl *D);
1128 void ASTDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
H A DDecl.cpp1674 if (auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces()
1678 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
H A DASTImporter.cpp486 ExpectedDecl VisitUsingDecl(UsingDecl *D);
4145 ExpectedDecl ASTNodeImporter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
4167 UsingDecl *ToUsing; in VisitUsingDecl()
4206 Expected<UsingDecl *> ToUsingOrErr = import(D->getUsingDecl()); in VisitUsingShadowDecl()
H A DASTContext.cpp1423 assert((isa<UsingDecl>(Pattern) || in setInstantiatedFromUsingDecl()
1427 assert((isa<UsingDecl>(Inst) || in setInstantiatedFromUsingDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h74 class UsingDecl; variable
3140 friend class UsingDecl;
3167 UsingDecl *Using, NamedDecl *Target);
3175 SourceLocation Loc, UsingDecl *Using,
3216 UsingDecl *getUsingDecl() const;
3258 UsingDecl *Using, NamedDecl *Target,
3352 class UsingDecl : public NamedDecl, public Mergeable<UsingDecl> {
3370 UsingDecl(DeclContext *DC, SourceLocation UL,
3471 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
3477 static UsingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
[all …]
H A DRecursiveASTVisitor.h1573 DEF_TRAVERSE_DECL(UsingDecl, {
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.h43 class UsingDecl; variable
460 void EmitUsingDecl(const UsingDecl &UD);
H A DCGDecl.cpp119 DI->EmitUsingDecl(cast<UsingDecl>(D)); in EmitDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1562 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
3314 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() local
3315 return InnerMatcher.matches(*UsingDecl, Finder, Builder); in AST_MATCHER_P()
5002 AST_MATCHER_P(UsingDecl, hasAnyUsingShadowDecl, in AST_MATCHER_P() argument
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h991 if (isa<UsingDecl>(ND)) in getConstructorInfo()
H A DSema.h192 class UsingDecl; variable
4585 UsingDirectiveDecl *&UsingDecl);
4648 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
4651 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
4674 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp2526 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
2559 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl()
4832 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance, in isInstantiationOf()
4854 } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOfUnresolvedUsingDecl()
4923 if (auto *Using = dyn_cast<UsingDecl>(Other)) in isInstantiationOf()
4924 return isInstantiationOf(cast<UsingDecl>(D), Using, Ctx); in isInstantiationOf()
H A DSemaDeclCXX.cpp6239 UsingDecl *ConstructedBaseUsing = nullptr; in InheritedConstructorInfo()
9555 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, in CheckUsingShadowDecl()
9626 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D)) in CheckUsingShadowDecl()
9724 UsingDecl *UD, in BuildUsingShadowDecl()
10008 UsingDecl *UD = in BuildUsingDeclaration()
10009 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
10152 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration()
10187 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl()
10239 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) { in CheckUsingDeclRedeclaration()
10259 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
H A DSemaLookup.cpp3020 assert(isa<UsingDecl>(Cand.getDecl()) && in LookupSpecialMember()
3472 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
H A DSemaExprCXX.cpp4818 if (isa<UsingDecl>(ND)) in EvaluateUnaryTypeTrait()
4857 if (isa<UsingDecl>(ND)) in EvaluateUnaryTypeTrait()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp393 void VisitUsingDecl(UsingDecl *D);
1571 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3109 if (const auto *UX = dyn_cast<UsingDecl>(X)) { in isSameEntity()
3110 const auto *UY = cast<UsingDecl>(Y); in isSameEntity()
3674 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp112 void VisitUsingDecl(UsingDecl *D);
1198 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp583 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
H A DUSRGeneration.cpp114 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp662 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DClangASTContext.h985 clang::UsingDecl *CreateUsingDeclaration(clang::DeclContext *current_decl_ctx,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp2011 clang::UsingDecl *
2015 clang::UsingDecl *using_decl = clang::UsingDecl::Create( in CreateUsingDeclaration()
10039 } else if (clang::UsingDecl *ud = in DeclContextFindDeclByName()
10040 llvm::dyn_cast<clang::UsingDecl>(child)) { in DeclContextFindDeclByName()
10156 if (clang::UsingDecl *ud = in CountDeclLevels()
10157 llvm::dyn_cast<clang::UsingDecl>(child)) { in CountDeclLevels()

12