Lines Matching refs:ED
5768 const EnumDecl *ED = Type->castAs<EnumType>()->getDecl();
5769 return !(ED &&
5770 Context.typesAreCompatible(ED->getPromotionType(), Type));
10840 const EnumConstantDecl *ED = nullptr;
10842 ED = dyn_cast<EnumConstantDecl>(DR->getDecl());
10847 if (ED) {
10848 OS << '\'' << *ED << "' (" << Value << ")";
11061 EnumDecl *ED = EnumTy->getDecl();
11067 bool SignedEnum = ED->getNumNegativeBits() > 0;
11078 ED->getNumPositiveBits() == FieldWidth) {
11083 S.Diag(InitLoc, DiagID) << Bitfield << ED;
11094 unsigned BitsNeeded = SignedEnum ? std::max(ED->getNumPositiveBits() + 1,
11095 ED->getNumNegativeBits())
11096 : ED->getNumPositiveBits();
11102 << Bitfield << ED;
11104 << BitsNeeded << ED << WidthExpr->getSourceRange();