Lines Matching defs:EnumDecl

1482         return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation);
1799 } else if (const auto *ED = dyn_cast<EnumDecl>(DC)) {
4746 "EnumDecl not matched with TagTypeKind::Enum");
4873 // EnumDecl Implementation
4876 EnumDecl::EnumDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
4877 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl,
4891 void EnumDecl::anchor() {}
4893 EnumDecl *EnumDecl::Create(ASTContext &C, DeclContext *DC,
4896 EnumDecl *PrevDecl, bool IsScoped,
4898 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl,
4905 EnumDecl *EnumDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) {
4906 EnumDecl *Enum =
4907 new (C, ID) EnumDecl(C, nullptr, SourceLocation(), SourceLocation(),
4913 SourceRange EnumDecl::getIntegerTypeRange() const {
4919 void EnumDecl::completeDefinition(QualType NewType,
4932 bool EnumDecl::isClosed() const {
4938 bool EnumDecl::isClosedFlag() const {
4942 bool EnumDecl::isClosedNonFlag() const {
4946 TemplateSpecializationKind EnumDecl::getTemplateSpecializationKind() const {
4953 void EnumDecl::setTemplateSpecializationKind(TemplateSpecializationKind TSK,
4964 EnumDecl *EnumDecl::getTemplateInstantiationPattern() const {
4967 EnumDecl *ED = getInstantiatedFromMemberEnum();
4979 EnumDecl *EnumDecl::getInstantiatedFromMemberEnum() const {
4981 return cast<EnumDecl>(SpecializationInfo->getInstantiatedFrom());
4986 void EnumDecl::setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
4992 unsigned EnumDecl::getODRHash() {
5003 SourceRange EnumDecl::getSourceRange() const {
5014 void EnumDecl::getValueRange(llvm::APInt &Max, llvm::APInt &Min) const {
5532 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD,