Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaDecl.cpp2522 QualType OldType; in isIncompatibleTypedef() local
2524 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 …]
H A DSemaOverload.cpp1271 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local
1278 (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() argument
3073 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()
H A DSemaDeclCXX.cpp1587 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local
1593 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()
H A DTreeTransform.h5889 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
5894 = 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()
H A DSemaOpenMP.cpp9457 QualType OldType = E->getType(); in widenIterationCount() local
9458 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7148 Type *OldType = Cond->getType(); in optimizeSwitchType() local
7150 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchType()
7154 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchType()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp958 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local
961 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DSema.h3794 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,