Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp2574 QualType OldType; in isIncompatibleTypedef() local
2576 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()
2578 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()
2592 if (OldType != NewType && in isIncompatibleTypedef()
2593 !OldType->isDependentType() && in isIncompatibleTypedef()
2595 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
2598 << Kind << NewType << OldType; in isIncompatibleTypedef()
3900 << OldType->getRegParmType(); in MergeFunctionDecl()
4004 QualType OldReturnType = OldType->getReturnType(); in MergeFunctionDecl()
11273 const auto *OldType = cast<FunctionType>(OldQType); in areMultiversionVariantFunctionsCompatible() local
[all …]
H A DSemaOverload.cpp1276 const auto *OldType = cast<FunctionProtoType>(OldQType); in IsOverloadOrOverrideImpl() local
1282 if (OldQType != NewQType && OldType->isVariadic() != NewType->isVariadic()) in IsOverloadOrOverrideImpl()
1414 if (OldType->getNumParams() - OldParamsOffset != in IsOverloadOrOverrideImpl()
1417 {OldType->param_type_begin() + OldParamsOffset, in IsOverloadOrOverrideImpl()
1418 OldType->param_type_end()}, in IsOverloadOrOverrideImpl()
3207 QualType OldType = in FunctionParamTypesAreEqual() local
3212 if (!Context.hasSameType(OldType, NewType)) { in FunctionParamTypesAreEqual()
3221 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument
3224 return FunctionParamTypesAreEqual(OldType->param_types(), in FunctionParamTypesAreEqual()
H A DSemaDeclCXX.cpp1618 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local
1624 OldType = OldType->castAs<ReferenceType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
1627 OldType = OldType->castAs<PointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
1630 OldType = OldType->castAs<MemberPointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
1640 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
H A DTreeTransform.h5987 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
5992 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()
6054 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()
6057 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
6059 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
H A DSemaTemplate.cpp8300 QualType OldType = S.Context.getUnconstrainedType(OldNTTP->getType()); in MatchTemplateParameterKind() local
8302 if (!S.Context.hasSameType(OldType, NewType)) { in MatchTemplateParameterKind()
H A DSemaOpenMP.cpp9672 QualType OldType = E->getType(); in widenIterationCount() local
9673 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7310 Type *OldType = Cond->getType(); in optimizeSwitchType() local
7312 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchType()
7316 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4179 Type *OldType = Arg->getType(); in UpgradeIntrinsicCall() local
4181 Args.push_back((OldType->isIntegerTy() && in UpgradeIntrinsicCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1039 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local
1042 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3864 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,