Lines Matching refs:ED
277 void VisitEnumDecl(EnumDecl *ED);
674 void ASTDeclReader::VisitEnumDecl(EnumDecl *ED) { in VisitEnumDecl() argument
675 VisitTagDecl(ED); in VisitEnumDecl()
677 ED->setIntegerTypeSourceInfo(TI); in VisitEnumDecl()
679 ED->setIntegerType(Reader.readType(F, Record, Idx)); in VisitEnumDecl()
680 ED->setPromotionType(Reader.readType(F, Record, Idx)); in VisitEnumDecl()
681 ED->setNumPositiveBits(Record[Idx++]); in VisitEnumDecl()
682 ED->setNumNegativeBits(Record[Idx++]); in VisitEnumDecl()
683 ED->IsScoped = Record[Idx++]; in VisitEnumDecl()
684 ED->IsScopedUsingClassTag = Record[Idx++]; in VisitEnumDecl()
685 ED->IsFixed = Record[Idx++]; in VisitEnumDecl()
689 if (ED->IsCompleteDefinition && in VisitEnumDecl()
692 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]; in VisitEnumDecl()
696 for (auto *D : merged_redecls(ED->getCanonicalDecl())) { in VisitEnumDecl()
704 Reader.MergedDeclContexts.insert(std::make_pair(ED, OldDef)); in VisitEnumDecl()
705 ED->IsCompleteDefinition = false; in VisitEnumDecl()
706 mergeDefinitionVisibility(OldDef, ED); in VisitEnumDecl()
708 OldDef = ED; in VisitEnumDecl()
715 ED->setInstantiationOfMemberEnum(Reader.getContext(), InstED, TSK); in VisitEnumDecl()
716 ED->getMemberSpecializationInfo()->setPointOfInstantiation(POI); in VisitEnumDecl()
2813 if (EnumDecl *ED = dyn_cast<EnumDecl>(DC)) in getPrimaryContextForMerging() local
2814 return ED->getASTContext().getLangOpts().CPlusPlus? ED->getDefinition() in getPrimaryContextForMerging()