Searched refs:OldType (Results 1 – 8 of 8) sorted by relevance
2522 QualType OldType; in isIncompatibleTypedef() local2524 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()2526 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()2540 if (OldType != NewType && in isIncompatibleTypedef()2541 !OldType->isDependentType() && in isIncompatibleTypedef()2543 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()2546 << Kind << NewType << OldType; in isIncompatibleTypedef()3819 << OldType->getRegParmType(); in MergeFunctionDecl()3935 QualType OldReturnType = OldType->getReturnType(); in MergeFunctionDecl()11039 const auto *OldType = cast<FunctionType>(OldQType); in areMultiversionVariantFunctionsCompatible() local[all …]
1271 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local1278 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload()1279 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()1280 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload()3070 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument3073 assert(OldType->getNumParams() == NewType->getNumParams() && in FunctionParamTypesAreEqual()3076 for (size_t I = 0; I < OldType->getNumParams(); I++) { in FunctionParamTypesAreEqual()3078 size_t J = Reversed ? (OldType->getNumParams() - I - 1) : I; in FunctionParamTypesAreEqual()3082 QualType Old = Context.removePtrSizeAddrSpace(OldType->getParamType(I).getUnqualifiedType()); in FunctionParamTypesAreEqual()
1587 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local1593 OldType = OldType->castAs<ReferenceType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()1596 OldType = OldType->castAs<PointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()1599 OldType = OldType->castAs<MemberPointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()1609 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
5889 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local5894 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()5956 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()5959 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()5961 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
9457 QualType OldType = E->getType(); in widenIterationCount() local9458 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
7148 Type *OldType = Cond->getType(); in optimizeSwitchType() local7150 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchType()7154 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchType()
958 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local961 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
3794 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,