Lines Matching refs:EnumDecl
1253 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation);
1469 } else if (const auto *ED = dyn_cast<EnumDecl>(*I)) {
3510 // EnumDecl Implementation
3513 void EnumDecl::anchor() { }
3515 EnumDecl *EnumDecl::Create(ASTContext &C, DeclContext *DC,
3518 EnumDecl *PrevDecl, bool IsScoped,
3520 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl,
3527 EnumDecl *EnumDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
3528 EnumDecl *Enum =
3529 new (C, ID) EnumDecl(C, nullptr, SourceLocation(), SourceLocation(),
3535 SourceRange EnumDecl::getIntegerTypeRange() const {
3541 void EnumDecl::completeDefinition(QualType NewType,
3554 TemplateSpecializationKind EnumDecl::getTemplateSpecializationKind() const {
3561 void EnumDecl::setTemplateSpecializationKind(TemplateSpecializationKind TSK,
3572 EnumDecl *EnumDecl::getInstantiatedFromMemberEnum() const {
3574 return cast<EnumDecl>(SpecializationInfo->getInstantiatedFrom());
3579 void EnumDecl::setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
3896 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD,