Searched refs:EnumTy (Results 1 – 10 of 10) sorted by relevance
60 typedef enum { A1, B1 } EnumTy; typedef79 CheckIntScalarTypes<EnumTy>(); in test()
630 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local631 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()645 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local646 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()788 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() local790 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()809 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local810 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()1304 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local1305 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()[all …]
729 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local730 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()752 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local753 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()973 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() local975 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()1006 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local1007 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()1553 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local1554 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()[all …]
1130 template <typename EnumTy>1136 names.push_back(EnumTraits<EnumTy>::stringify(static_cast<EnumTy>(i))); in parseOptionalLLVMKeyword()
8535 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addGenericBinaryPointerOrEnumeralOverloads() local8536 CanQualType CanonType = S.Context.getCanonicalType(EnumTy); in addGenericBinaryPointerOrEnumeralOverloads()8544 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addGenericBinaryPointerOrEnumeralOverloads()8748 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addAssignmentMemberPointerOrEnumeralOverloads() local8749 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addAssignmentMemberPointerOrEnumeralOverloads()8752 AddBuiltinAssignmentOperatorCandidates(S, EnumTy, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads()9098 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addConditionalOperatorOverloads() local9099 if (!EnumTy->castAs<EnumType>()->getDecl()->isScoped()) in addConditionalOperatorOverloads()9102 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addConditionalOperatorOverloads()9105 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addConditionalOperatorOverloads()
8636 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() local8637 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()11405 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) { in AnalyzeBitFieldAssignment() local11406 EnumDecl *ED = EnumTy->getDecl(); in AnalyzeBitFieldAssignment()
940 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl() local941 if (EnumTy->getDecl() == EnumDcl) { in migrateNSEnumDecl()
933 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl() local934 if (EnumTy->getDecl() == EnumDcl) { in migrateNSEnumDecl()
5165 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() local5166 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()