Lines Matching defs:ET
1763 if (const EnumType *ET = dyn_cast<EnumType>(TT)) {
1764 const EnumDecl *ED = ET->getDecl();
1912 if (const EnumType *ET = T->getAs<EnumType>())
1913 T = ET->getDecl()->getIntegerType().getTypePtr();
4758 if (const EnumType *ET = Promotable->getAs<EnumType>())
4759 return ET->getDecl()->getPromotionType();
4815 static const Type *getIntegerTypeForEnum(const EnumType *ET) {
4818 if (ET->getDecl()->isComplete() && !ET->getDecl()->isScoped())
4819 return ET->getDecl()->getIntegerType().getTypePtr();
4831 if (const EnumType *ET = dyn_cast<EnumType>(LHSC))
4832 LHSC = getIntegerTypeForEnum(ET);
4833 if (const EnumType *ET = dyn_cast<EnumType>(RHSC))
4834 RHSC = getIntegerTypeForEnum(ET);
5491 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) {
5492 EnumDecl *Enum = ET->getDecl();
5526 if (const EnumType *ET = T->getAs<EnumType>())
5527 S += ObjCEncodingForEnumType(Ctx, ET);
7348 QualType ET = I->getType().getUnqualifiedType();
7349 QualType MT = mergeTypes(ET, SubType, OfBlockPointer, Unqualified);
7543 static QualType mergeEnumWithInteger(ASTContext &Context, const EnumType *ET,
7549 QualType underlyingType = ET->getDecl()->getIntegerType();
7955 if (const EnumType *ET = T->getAs<EnumType>())
7956 T = ET->getDecl()->getIntegerType();