Searched refs:EnumTy (Results 1 – 6 of 6) sorted by relevance
788 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()1027 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()1942 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()4294 Ty = EnumTy->getDecl()->getIntegerType(); in classify()4586 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI()5083 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI()7260 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()7525 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableIntegerTypeForABI()8200 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()9161 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()[all …]
8785 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addGenericBinaryPointerOrEnumeralOverloads() local8786 CanQualType CanonType = S.Context.getCanonicalType(EnumTy); in addGenericBinaryPointerOrEnumeralOverloads()8794 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addGenericBinaryPointerOrEnumeralOverloads()8998 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addAssignmentMemberPointerOrEnumeralOverloads() local8999 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addAssignmentMemberPointerOrEnumeralOverloads()9002 AddBuiltinAssignmentOperatorCandidates(S, EnumTy, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads()9341 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addConditionalOperatorOverloads() local9342 if (!EnumTy->castAs<EnumType>()->getDecl()->isScoped()) in addConditionalOperatorOverloads()9345 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addConditionalOperatorOverloads()9348 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addConditionalOperatorOverloads()
16745 QualType EnumTy = ED->getIntegerType(); in ActOnTag() local16746 ED->setPromotionType(Context.isPromotableIntegerType(EnumTy) in ActOnTag()16747 ? Context.getPromotedIntegerType(EnumTy) in ActOnTag()16748 : EnumTy); in ActOnTag()17371 QualType EnumTy = ED->getIntegerType(); in ActOnTag() local17372 ED->setPromotionType(Context.isPromotableIntegerType(EnumTy) in ActOnTag()17373 ? Context.getPromotedIntegerType(EnumTy) in ActOnTag()17374 : EnumTy); in ActOnTag()
11930 QualType EnumTy = GetTypeFromParser( in ActOnUsingEnumDeclaration() local11936 if (EnumTy.isNull()) { in ActOnUsingEnumDeclaration()11945 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()11947 Diag(IdentLoc, diag::err_using_enum_not_enum) << EnumTy; in ActOnUsingEnumDeclaration()11955 TSI = Context.getTrivialTypeSourceInfo(EnumTy, IdentLoc); in ActOnUsingEnumDeclaration()
10422 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() local10423 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()13299 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) { in AnalyzeBitFieldAssignment() local13300 EnumDecl *ED = EnumTy->getDecl(); in AnalyzeBitFieldAssignment()
930 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl() local931 if (EnumTy->getDecl() == EnumDcl) { in migrateNSEnumDecl()