Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/
DMathFunctions.h390 template<typename OldType, typename NewType>
393 static inline NewType run(const OldType& x)
401 template<typename OldType, typename NewType>
402 inline NewType cast(const OldType& x)
404 return cast_impl<OldType, NewType>::run(x);
/external/clang/lib/Sema/
DSemaOverload.cpp952 const FunctionProtoType* OldType = cast<FunctionProtoType>(OldQType); in IsOverload() local
959 (OldType->getNumArgs() != NewType->getNumArgs() || in IsOverload()
960 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()
961 !FunctionArgTypesAreEqual(OldType, NewType))) in IsOverload()
980 OldType->getResultType() != NewType->getResultType())) in IsOverload()
2505 bool Sema::FunctionArgTypesAreEqual(const FunctionProtoType *OldType, in FunctionArgTypesAreEqual() argument
2509 for (FunctionProtoType::arg_type_iterator O = OldType->arg_type_begin(), in FunctionArgTypesAreEqual()
2511 E = OldType->arg_type_end(); O && (O != E); ++O, ++N) { in FunctionArgTypesAreEqual()
2513 if (ArgPos) *ArgPos = O - OldType->arg_type_begin(); in FunctionArgTypesAreEqual()
2520 for (FunctionProtoType::arg_type_iterator O = OldType->arg_type_begin(), in FunctionArgTypesAreEqual()
[all …]
DSemaDecl.cpp1543 QualType OldType; in isIncompatibleTypedef() local
1545 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()
1547 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()
1561 if (OldType != NewType && in isIncompatibleTypedef()
1562 !OldType->isDependentType() && in isIncompatibleTypedef()
1564 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
1567 << Kind << NewType << OldType; in isIncompatibleTypedef()
2019 const FunctionType *OldType = cast<FunctionType>(OldQType); in MergeFunctionDecl() local
2021 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl()
2064 << OldType->getRegParmType(); in MergeFunctionDecl()
[all …]
DSemaDeclCXX.cpp563 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local
569 OldType = OldType->getAs<ReferenceType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
572 OldType = OldType->getAs<PointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
575 OldType = OldType->getAs<MemberPointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
585 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
DTreeTransform.h4077 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
4082 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()
4132 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()
4135 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4137 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
/external/clang/include/clang/Sema/
DSema.h1677 bool FunctionArgTypesAreEqual(const FunctionProtoType *OldType,