Home
last modified time | relevance | path

Searched refs:OldType (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp2446 QualType OldType; in isIncompatibleTypedef() local
2448 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 …]
H A DSemaOverload.cpp1175 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local
1182 (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() argument
2966 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()
H A DSemaDeclCXX.cpp1553 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local
1559 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()
H A DTreeTransform.h5790 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
5795 = 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()
H A DSemaOpenMP.cpp9374 QualType OldType = E->getType(); in widenIterationCount() local
9375 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7021 Type *OldType = Cond->getType(); in optimizeSwitchType() local
7023 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchType()
7027 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchType()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp951 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local
954 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h3668 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,