Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp2247 QualType OldType; in isIncompatibleTypedef() local
2249 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()
2251 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()
2265 if (OldType != NewType && in isIncompatibleTypedef()
2266 !OldType->isDependentType() && in isIncompatibleTypedef()
2268 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
2271 << Kind << NewType << OldType; in isIncompatibleTypedef()
3472 << OldType->getRegParmType(); in MergeFunctionDecl()
3588 QualType OldReturnType = OldType->getReturnType(); in MergeFunctionDecl()
10366 const auto *OldType = cast<FunctionType>(OldQType); in areMultiversionVariantFunctionsCompatible() local
[all …]
H A DSemaOverload.cpp1177 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local
1184 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload()
1185 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()
1186 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload()
2959 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument
2962 for (FunctionProtoType::param_type_iterator O = OldType->param_type_begin(), in FunctionParamTypesAreEqual()
2964 E = OldType->param_type_end(); in FunctionParamTypesAreEqual()
2973 *ArgPos = O - OldType->param_type_begin(); 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.h5724 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
5729 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()
5791 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()
5794 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
5796 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
H A DSemaOpenMP.cpp8837 QualType OldType = E->getType(); in widenIterationCount() local
8838 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6997 Type *OldType = Cond->getType(); in optimizeSwitchInst() local
6999 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchInst()
7003 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp866 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local
869 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3453 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,