Searched refs:OldType (Results 1 – 8 of 8) sorted by relevance
2446 QualType OldType; in isIncompatibleTypedef() local2448 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()2450 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()2464 if (OldType != NewType && in isIncompatibleTypedef()2465 !OldType->isDependentType() && in isIncompatibleTypedef()2467 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()2470 << Kind << NewType << OldType; in isIncompatibleTypedef()3743 << OldType->getRegParmType(); in MergeFunctionDecl()3859 QualType OldReturnType = OldType->getReturnType(); in MergeFunctionDecl()10814 const auto *OldType = cast<FunctionType>(OldQType); in areMultiversionVariantFunctionsCompatible() local[all …]
1175 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local1182 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload()1183 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()1184 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload()2963 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument2966 assert(OldType->getNumParams() == NewType->getNumParams() && in FunctionParamTypesAreEqual()2969 for (size_t I = 0; I < OldType->getNumParams(); I++) { in FunctionParamTypesAreEqual()2971 size_t J = Reversed ? (OldType->getNumParams() - I - 1) : I; in FunctionParamTypesAreEqual()2975 QualType Old = Context.removePtrSizeAddrSpace(OldType->getParamType(I).getUnqualifiedType()); in FunctionParamTypesAreEqual()
1553 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local1559 OldType = OldType->castAs<ReferenceType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()1562 OldType = OldType->castAs<PointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()1565 OldType = OldType->castAs<MemberPointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()1575 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
5790 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local5795 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()5857 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()5860 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()5862 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
9374 QualType OldType = E->getType(); in widenIterationCount() local9375 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
7021 Type *OldType = Cond->getType(); in optimizeSwitchType() local7023 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchType()7027 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchType()
951 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local954 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
3668 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,