Lines Matching defs:ET
1852 if (const auto *ET = T->getAs<EnumType>()) {
1853 if (T->isDependentType() || ET->getDecl()->getPromotionType().isNull() ||
1854 ET->getDecl()->isScoped())
2317 if (const auto *ET = dyn_cast<EnumType>(TT)) {
2318 const EnumDecl *ED = ET->getDecl();
2536 if (const auto *ET = T->getAs<EnumType>())
2537 T = ET->getDecl()->getIntegerType().getTypePtr();
4767 for (QualType ET : ESI.Exceptions) {
4768 if (!ET.isCanonical())
4770 if (ET->getAs<PackExpansionType>())
4858 for (QualType ET : EPI.ExceptionSpec.Exceptions) {
4859 if (ET->getAs<PackExpansionType>())
4861 ExceptionTypeStorage.push_back(getCanonicalType(ET));
7614 if (const auto *ET = Promotable->getAs<EnumType>())
7615 return ET->getDecl()->getPromotionType();
7671 static const Type *getIntegerTypeForEnum(const EnumType *ET) {
7674 if (ET->getDecl()->isComplete() && !ET->getDecl()->isScoped())
7675 return ET->getDecl()->getIntegerType().getTypePtr();
7687 if (const auto *ET = dyn_cast<EnumType>(LHSC))
7688 LHSC = getIntegerTypeForEnum(ET);
7689 if (const auto *ET = dyn_cast<EnumType>(RHSC))
7690 RHSC = getIntegerTypeForEnum(ET);
8542 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) {
8543 EnumDecl *Enum = ET->getDecl();
8587 if (const auto *ET = T->getAs<EnumType>())
8588 S += ObjCEncodingForEnumType(Ctx, ET);
10718 QualType ET = I->getType().getUnqualifiedType();
10719 QualType MT = mergeTypes(ET, SubType, OfBlockPointer, Unqualified);
10973 static QualType mergeEnumWithInteger(ASTContext &Context, const EnumType *ET,
10979 QualType underlyingType = ET->getDecl()->getIntegerType();
11488 if (const auto *ET = T->getAs<EnumType>())
11489 T = ET->getDecl()->getIntegerType();