Home
last modified time | relevance | path

Searched refs:EnumTy (Results 1 – 6 of 6) sorted by relevance

/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DTargetInfo.cpp788 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 …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp8785 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addGenericBinaryPointerOrEnumeralOverloads() local
8786 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() local
8999 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() local
9342 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()
H A DSemaDecl.cpp16745 QualType EnumTy = ED->getIntegerType(); in ActOnTag() local
16746 ED->setPromotionType(Context.isPromotableIntegerType(EnumTy) in ActOnTag()
16747 ? Context.getPromotedIntegerType(EnumTy) in ActOnTag()
16748 : EnumTy); in ActOnTag()
17371 QualType EnumTy = ED->getIntegerType(); in ActOnTag() local
17372 ED->setPromotionType(Context.isPromotableIntegerType(EnumTy) in ActOnTag()
17373 ? Context.getPromotedIntegerType(EnumTy) in ActOnTag()
17374 : EnumTy); in ActOnTag()
H A DSemaDeclCXX.cpp11930 QualType EnumTy = GetTypeFromParser( in ActOnUsingEnumDeclaration() local
11936 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()
H A DSemaChecking.cpp10422 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() local
10423 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
13299 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) { in AnalyzeBitFieldAssignment() local
13300 EnumDecl *ED = EnumTy->getDecl(); in AnalyzeBitFieldAssignment()
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DObjCMT.cpp930 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl() local
931 if (EnumTy->getDecl() == EnumDcl) { in migrateNSEnumDecl()