Lines Matching defs:EnumDecl

1482         return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation);
1792 } else if (const auto *ED = dyn_cast<EnumDecl>(DC)) {
4697 "EnumDecl not matched with TagTypeKind::Enum");
4824 // EnumDecl Implementation
4827 EnumDecl::EnumDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
4828 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl,
4842 void EnumDecl::anchor() {}
4844 EnumDecl *EnumDecl::Create(ASTContext &C, DeclContext *DC,
4847 EnumDecl *PrevDecl, bool IsScoped,
4849 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl,
4856 EnumDecl *EnumDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) {
4857 EnumDecl *Enum =
4858 new (C, ID) EnumDecl(C, nullptr, SourceLocation(), SourceLocation(),
4864 SourceRange EnumDecl::getIntegerTypeRange() const {
4870 void EnumDecl::completeDefinition(QualType NewType,
4883 bool EnumDecl::isClosed() const {
4889 bool EnumDecl::isClosedFlag() const {
4893 bool EnumDecl::isClosedNonFlag() const {
4897 TemplateSpecializationKind EnumDecl::getTemplateSpecializationKind() const {
4904 void EnumDecl::setTemplateSpecializationKind(TemplateSpecializationKind TSK,
4915 EnumDecl *EnumDecl::getTemplateInstantiationPattern() const {
4918 EnumDecl *ED = getInstantiatedFromMemberEnum();
4930 EnumDecl *EnumDecl::getInstantiatedFromMemberEnum() const {
4932 return cast<EnumDecl>(SpecializationInfo->getInstantiatedFrom());
4937 void EnumDecl::setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
4943 unsigned EnumDecl::getODRHash() {
4954 SourceRange EnumDecl::getSourceRange() const {
4965 void EnumDecl::getValueRange(llvm::APInt &Max, llvm::APInt &Min) const {
5445 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD,