Lines Matching refs:ET
1654 if (const EnumType *ET = dyn_cast<EnumType>(TT))
1655 return getTypeInfo(ET->getDecl()->getIntegerType());
4369 if (const EnumType *ET = Promotable->getAs<EnumType>())
4370 return ET->getDecl()->getPromotionType();
4426 static const Type *getIntegerTypeForEnum(const EnumType *ET) {
4429 if (ET->getDecl()->isComplete() && !ET->getDecl()->isScoped())
4430 return ET->getDecl()->getIntegerType().getTypePtr();
4442 if (const EnumType *ET = dyn_cast<EnumType>(LHSC))
4443 LHSC = getIntegerTypeForEnum(ET);
4444 if (const EnumType *ET = dyn_cast<EnumType>(RHSC))
4445 RHSC = getIntegerTypeForEnum(ET);
5112 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) {
5113 EnumDecl *Enum = ET->getDecl();
5147 if (const EnumType *ET = T->getAs<EnumType>())
5148 S += ObjCEncodingForEnumType(Ctx, ET);
6896 QualType ET = it->getType().getUnqualifiedType();
6897 QualType MT = mergeTypes(ET, SubType, OfBlockPointer, Unqualified);
7095 static QualType mergeEnumWithInteger(ASTContext &Context, const EnumType *ET,
7101 QualType underlyingType = ET->getDecl()->getIntegerType();
7487 if (const EnumType *ET = T->getAs<EnumType>())
7488 T = ET->getDecl()->getIntegerType();