Home
last modified time | relevance | path

Searched refs:UsingEnumDecl (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3720 class UsingEnumDecl : public BaseUsingDecl, public Mergeable<UsingEnumDecl> {
3728 UsingEnumDecl(DeclContext *DC, DeclarationName DN, SourceLocation UL, in UsingEnumDecl() function
3766 static UsingEnumDecl *Create(ASTContext &C, DeclContext *DC,
3770 static UsingEnumDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
3775 UsingEnumDecl *getCanonicalDecl() override { in getCanonicalDecl()
3776 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl()
3778 const UsingEnumDecl *getCanonicalDecl() const { in getCanonicalDecl()
3779 return cast<UsingEnumDecl>(getFirstDecl()); in getCanonicalDecl()
H A DASTContext.h563 llvm::DenseMap<UsingEnumDecl *, UsingEnumDecl *>
996 UsingEnumDecl *getInstantiatedFromUsingEnumDecl(UsingEnumDecl *Inst);
1000 void setInstantiatedFromUsingEnumDecl(UsingEnumDecl *Inst,
1001 UsingEnumDecl *Pattern);
H A DTextNodeDumper.h388 void VisitUsingEnumDecl(const UsingEnumDecl *D);
H A DJSONNodeDumper.h254 void VisitUsingEnumDecl(const UsingEnumDecl *UED);
H A DRecursiveASTVisitor.h1761 DEF_TRAVERSE_DECL(UsingEnumDecl,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3207 void UsingEnumDecl::anchor() {} in anchor()
3209 UsingEnumDecl *UsingEnumDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3216 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
3219 UsingEnumDecl *UsingEnumDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
3222 UsingEnumDecl(nullptr, DeclarationName(), SourceLocation(), in CreateDeserialized()
3226 SourceRange UsingEnumDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp103 void VisitUsingEnumDecl(UsingEnumDecl *D);
1730 void DeclPrinter::VisitUsingEnumDecl(UsingEnumDecl *D) { in VisitUsingEnumDecl()
H A DJSONNodeDumper.cpp911 void JSONNodeDumper::VisitUsingEnumDecl(const UsingEnumDecl *UED) { in VisitUsingEnumDecl()
H A DASTImporter.cpp505 ExpectedDecl VisitUsingEnumDecl(UsingEnumDecl *D);
5171 ExpectedDecl ASTNodeImporter::VisitUsingEnumDecl(UsingEnumDecl *D) { in VisitUsingEnumDecl()
5189 UsingEnumDecl *ToUsingEnum; in VisitUsingEnumDecl()
5197 if (UsingEnumDecl *FromPattern = in VisitUsingEnumDecl()
5199 if (Expected<UsingEnumDecl *> ToPatternOrErr = import(FromPattern)) in VisitUsingEnumDecl()
H A DTextNodeDumper.cpp2626 void TextNodeDumper::VisitUsingEnumDecl(const UsingEnumDecl *D) { in VisitUsingEnumDecl()
H A DASTContext.cpp1536 UsingEnumDecl *
1537 ASTContext::getInstantiatedFromUsingEnumDecl(UsingEnumDecl *UUD) { in getInstantiatedFromUsingEnumDecl()
1541 void ASTContext::setInstantiatedFromUsingEnumDecl(UsingEnumDecl *Inst, in setInstantiatedFromUsingEnumDecl()
1542 UsingEnumDecl *Pattern) { in setInstantiatedFromUsingEnumDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h567 void EmitUsingEnumDecl(const UsingEnumDecl &UD);
H A DCGDecl.cpp150 DI->EmitUsingEnumDecl(cast<UsingEnumDecl>(D)); in EmitDecl()
H A DCGDebugInfo.cpp5935 void CGDebugInfo::EmitUsingEnumDecl(const UsingEnumDecl &UD) { in EmitUsingEnumDecl()
H A DCodeGenModule.cpp6955 DI->EmitUsingEnumDecl(cast<UsingEnumDecl>(*D)); in EmitTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp404 void VisitUsingEnumDecl(UsingEnumDecl *D);
1887 void ASTDeclReader::VisitUsingEnumDecl(UsingEnumDecl *D) { in VisitUsingEnumDecl()
1893 if (auto *Pattern = readDeclAs<UsingEnumDecl>()) in VisitUsingEnumDecl()
3898 D = UsingEnumDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp122 void VisitUsingEnumDecl(UsingEnumDecl *D);
1418 void ASTDeclWriter::VisitUsingEnumDecl(UsingEnumDecl *D) { in VisitUsingEnumDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3413 Decl *TemplateDeclInstantiator::VisitUsingEnumDecl(UsingEnumDecl *D) { in VisitUsingEnumDecl()
3427 UsingEnumDecl *NewUD = in VisitUsingEnumDecl()
3428 UsingEnumDecl::Create(SemaRef.Context, Owner, D->getUsingLoc(), in VisitUsingEnumDecl()
H A DSemaDeclCXX.cpp12416 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D) || isa<UsingEnumDecl>(D)) in CheckUsingShadowDecl()
12982 if (UsingEnumDecl *UED = dyn_cast<UsingEnumDecl>(D)) in BuildUsingEnumDeclaration()
12995 UsingEnumDecl *UD = UsingEnumDecl::Create(Context, CurContext, UsingLoc, in BuildUsingEnumDeclaration()
H A DSemaDecl.cpp1518 if (isa<UsingEnumDecl>(D) && D->getDeclName().isEmpty()) { in PushOnScopeChains()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1790 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingEnumDecl>
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp4245 if (isa<StaticAssertDecl, TagDecl, TypedefNameDecl, UsingEnumDecl, in visitDeclStmt()